the modern languages might be kinda cool, but i fear whatever the actual projects written in them are doing with FFI, and what they're doing to not use the proper FFI
@joepie91 whatever a language implementation exposes for calling C functions. like Rust has extern "C" to use symbols exposed by C interfaces, or the other way, like Python and Node.js have C APIs to expose something on Python/Node.js side. there can (and should) be more tooling around it, of course, like code generators from C headers, or Rust macros calling these APIs to register your Rust types on Node.js side.
for the contrast, i've just saw C code being converted into golang code, because gophers seem to really hate cgo
re: programming doomerism
@joepie91 whatever a language implementation exposes for calling C functions. like Rust has extern "C" to use symbols exposed by C interfaces, or the other way, like Python and Node.js have C APIs to expose something on Python/Node.js side. there can (and should) be more tooling around it, of course, like code generators from C headers, or Rust macros calling these APIs to register your Rust types on Node.js side.
for the contrast, i've just saw C code being converted into golang code, because gophers seem to really hate cgo