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

Yeah, I'm also confused by this.

A platform will define an ABI which, as I understand it, explains how parameters are passed to and returned from a "function", what types are supported and how they're encoded, at the processor register and stack level.

C, being the "portable assembler" [1] that it is, maps its types and functions pretty easily to that platform ABI, but I've been seeing a fair amount of confusion about that ABI being about C rather than any language that can link through that platform ABI. Couldn't it just as easily be called, I dunno, the Ada ABI?

[1] not really, except for the sake of this argument



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

Search: