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

You could totally design a better convention in your own high-level language which compiled down to assembly, as long as you stayed inside it. But once you need to interface with external code you need to use a shared convention.

Your scheme sounds like it would make your code well-behaved as the callee (with perhaps some performance penalty?). But as a caller, you couldn't trust the external code not to clobber registers.



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

Search: