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

You can't have monomorphization or the old async feature if you need to be able to convert individual files to C.


You can do it in multiple passes (analysis/dumping IR followed by code generation, with dep files to connect them). It's what Rust does internally with rmeta files.

Mine is not necessarily a criticism of Zig, mind. It's a criticism of what is needed from a C replacement.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: