‹ BackHN Continuity

Thread

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

136 points · 32 comments · knuckleheads

  1. hmokiguess · · focus · HN ↗
    So this is like a cache? Reminded me of <a href="https:&#x2F;&#x2F;turborepo.dev" rel="nofollow">https:&#x2F;&#x2F;turborepo.dev for TS, is it a similar concept?
    1. boxed · · focus · HN ↗
      From what I understood it&#x27;s more like trust the external API of functions and continue with stuff that is downstream from that in parallel. If the function body then fails to type check then the compilation can be aborted and then you&#x27;ve done extra work, but that&#x27;s a pretty rare case afaik.
      1. hmokiguess · · focus · HN ↗
        ah ok, so more like an async type checking
      2. saghm · · focus · HN ↗
        It almost sounds like optimistic branch prediction when you put it that way
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.