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

Why will performance go up when shifting from compilation targeting C to CPS-style compilation to assembly without compiler optimizations implemented? C compilers are crammed full of optimizations, so I would naively think that writing your own code generator is a lose in both complexity and performance.


Among other reasons, because when compiling to assembly you can invent your own, model-appropriate calling conventions.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: