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

Towards the end, the article says it takes 7s for linking using mold.


Yeah, I read that part too late. In that case it seems that there's indeed a lot of overhead when building many crates from a cold-start, but it pays off in wall time and can probably save resources in incremental builds.


Yes. We found both cold and incremental builds sped up. The incremental builds were the main win -- small changes to the SQL can sometimes complete in seconds for what used to be a full recompilation.


Rewrite it in Zig? You might even be able to sidestep the LLVM bottleneck entirely. https://news.ycombinator.com/item?id=43016944




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

Search: