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

The Zig compiler itself is a good example: https://kristoff.it/blog/zig-self-hosted-now-what/

"The new self-hosted compiler reduces memory usage 3x compared to the old C++ implementation"



Have to point out that this includes second system optimizations. Just porting C over to Zig won't give you that 3x reduction. For others, I also highly recommend the video linked in that blog post.




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

Search: