News for hackers. Stuff that matters.
Re:Zig is becoming more production-worthy by Cloudef on Tuesday July 05, 2022 @01:28AM (#31984647)
Hot-code swapping would guarantee a really fast compile times and maybe even "hot reload" of program while it's running. Do not underestimate how much this helps with developer productivity. I'm so tired of the compile times with large C++ codebases...
Re:Zig is becoming more production-worthy by cturtle on Tuesday July 05, 2022 @01:34AM (#31984680)
Exactly! The idea is during development you use the super fast backend that supports hot code swapping. Then when you want to make a release build you use llvm and get all the optimization benefits of a longer compilation.