Hacker News new | ask | show | jobs
by IshKebab 17 days ago
The normal C calling convention is really only for cross-binary calls (e.g. between shared libraries). If you're not doing that you can ignore it; it's not a weird thing to do. It would be odd to strictly follow it in assembly and I assume compilers don't either.
1 comments

Unfortunately, in absence of inlining, compilers mostly respect calling convention even when they don't have to.