from Hacker News

Incremental compilation instantly rebuilds the Zig compiler [video]

by kristoff_it on 2/11/25, 7:10 PM with 15 comments

  • by matu3ba on 2/11/25, 8:35 PM

    That looks very promising. Imagine development speed based on that and for Zig and 1. static analysis, 2. dynamic analysis, 3. debugging/introspection tooling (code reduction, io-substitution), 4. backend experimentation.
  • by agent281 on 2/11/25, 8:05 PM

    Hilarious because I watched this while my code was compiling.
  • by laserbeam on 2/11/25, 11:24 PM

    Is there any intermediate representation of the project that gets dumped to disk which could be used as a basis for an LSP? I know the need for an lsp drops significantly with fast compilation… yet this still feels like it might improve the existing one significantly?
  • by layer8 on 2/11/25, 8:33 PM

    The most impressive thing is that this doesn’t cause an infinite recompilation loop. ;)