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

ARM and modern x64 have pretty rigorously-defined calling conventions, yeah. x86, on the other hand, has six or seven different ones, and it was up to you as a C programmer to choose which one to use for each given function, by sticking e.g. a __stdcall or a __fastcall in your typespec.


x64 on Linux has a different calling convention than x64 on Windows.




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

Search: