Hacker News new | past | comments | ask | show | jobs | submit login

> There is no way to avoid most of things you listed.

Oh yes, there definitely is: There are no function calls, nested expressions, or malloc in assembly – those are abstractions provided by the language and translated by the compiler, for comfort, not necessity. In fact, you can simulate all that in C itself: use gotos and an explicitly managed memory area as stack, and manually transform nested expressions into SSA form.




You are still paying for the register allocator. That is not a trivial abstraction; it is wildly complex and carefully tuned, and there is ongoing research on how to do it better.




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

Search: