logoalt Hacker News

jvertlast Sunday at 11:37 PM1 replyview on HN

Early in Win32 development, the x86 calling convention was __cdecl. I did all the work to change it to __stdcall (callee clean-up). Yes, it was done purely for performance reasons. It was a huge change to the codebase and as a side-effect turned up a lot of "interesting" code which relied on cdecl calling conventions.


Replies

scottlu2last Monday at 12:04 AM

Good times.