Hacker News new | ask | show | jobs
by fluffy87 2070 days ago
That already exists, and it’s called the „platforms C ABI“.

Every language that supports C FFI can talk with any other language that also supports it.

All these other efforts are just really higher level wrappers around that, but given that there are a million tools for generating the glue code to bind APIs using C for most languages in use it is hard for me to see the value here.

2 comments

No, you're just wrong. What parent means is something like COM or GObject. The C ABI is too limited and still requires you to build things on top of it.

It's kinda like saying all you need is bytes. From the perspective of the kernel this might be fine because it isn't supposed to prescribe a particular method but user processes must still agree on a character encoding or a protocol they are going to run on top of those bytes.

For the platforms written in C.