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

> All Zig code is in one compilation unit

How do incremental compilation and distributed compilation work?



Subtrees should be cacheable and parallelizable?


Single compilation unit does not imply that the results of the compilation of the different parts of that unit cannot be cached.


I see. So in some sense the actual unit of compilation is smaller and units can be combined or "linked" even if compiled at different times on different machines?




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

Search: