← Back to Tech Radar
Hacker News tech

Emitting metadata early makes building/checking Rust up to twice as fast

Trending on Hacker News: Emitting metadata early makes building/checking Rust up to twice as fast (113 points / 30 comments, via github.com)

In one line

Start dependent crates before their dependencies finish type-checking - PowderworksCode/headstart

Opening excerpt

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.

(Excerpted from the original; full article via the source link below.)

This story hit the Hacker News front page today (113 points / 30 comments, via github.com). Our Tech Radar aggregates daily signals on AI engineering, backend architecture and DevOps — browse the related services and further reading below, or get in touch with our team.

Source: Hacker News

Related Services

Related Reading