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

My understanding is that Zig's incremental compilation will work on a much more granular level (i.e. functions, etc), so, for example, change one function and only that function (and its dependencies) will get recompiled/relinked (there's some linker trickery involved to avoid needing to relink everything IIUC).

More details here: https://ziggit.dev/t/how-zig-incremental-compilation-is-impl...



Why would the function's dependencies need recompilation? I guess the dependees may require it, if they inlined it, or if the signature changed.


I'm probably not describing it fully accurately. See the link for the proper explanation.


Thanks for sharing !




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

Search: