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

The Win16 API was written in C, not Pascal. But because it didn't have functions with a variable number of arguments, they could use the Pascal calling convention instead of the C one. It was slightly faster and saved a few bytes at each call point, which was a big deal back when memory was measured in kilobytes.


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

Search: