Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It only uses the LLVM backend for release builds. For debug builds Zig now defaults to self-hosted (on supported platforms, only x86_64 right now). Debug builds are directly in the hot path of testing your software (this includes building test binaries), and the number of iterations you do on a debug build are multiple orders of magnitude higher than release builds, so this is a good tradeoff.


The post says the llvm is used in all builds they measured since the self hosted backend still can’t compile ghostty.


Incorrect, the last build is substantially faster and is using the "native" debug backend.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: