Emitting metadata early makes building/checking Rust up to twice as fast
Hacker News 热议:Emitting metadata early makes building/checking Rust up to twice as fast(113 赞 / 30 评论,来源 github.com)
一句话概要
Start dependent crates before their dependencies finish type-checking - PowderworksCode/headstart
原文开头节选
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} PowderworksCode / headstart Public Notifications You must be signed in to change notification settings Fork 2 Star 31 main Branches Tags Go to file Code Open more actions menu Latest commit History 32 Commits 32 Commits Folders and files Name Name Last commit message Last commit date cargo @ 4f3fb24 cargo @ 4f3fb24 config config docs docs patches patches projects projects rustc @ 6006fd0 rustc @ 6006fd0 scripts scripts tests tests .gitignore .gitignore .gitmodules .gitmodules README.md README.md View all files Repository files navigation headstart Start dependent crates before their dependencies finish type-checking.
Every crate waits for the crates it depends on to be fully checked, function bodies included, before it starts. It doesn’t need those bodies to type-check itself.
(以上为原文节选,完整内容见下方”原文来源”)
这条动态今日登上 Hacker News 首页(113 赞 / 30 评论,来源 github.com)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。
原文来源: Hacker News