News for hackers. Stuff that matters.
Re:MuJS: an embeddable JavaScript interpreter by angersock on Monday March 16, 2015 @11:13PM (#9216070)
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?

:|

Re:MuJS: an embeddable JavaScript interpreter by xavel on Tuesday March 17, 2015 @10:29AM (#9218135)
Yes, of course. But that's ABI, not API.
Re:MuJS: an embeddable JavaScript interpreter by angersock on Tuesday March 17, 2015 @12:11PM (#9218933)
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.