Hacker News new | ask | show | jobs
by angersock 4106 days ago
The grand majority of programming language APIs do not use a stack-based API. Really, stack-based APIs are an exception in just about every way, but not in a good way.

Um, what is the C ABI for invoking functions?

:|

1 comments

Yes, of course. But that's ABI, not API.
An ABI is the API a computer understands.

It makes a great deal of sense, especially when dealing with an interpreter for a stack-like machine, to expose language bindings in terms of that stack.

It's not super friendly, mind, but it makes perfect sense.