Hacker News new | ask | show | jobs
by __Joker 2787 days ago
Can anybody explain how this works ? Is it only works for interpreted languages ?
1 comments

Every language with FFI has the same ABI. Because they use C Language's ABI to port another language.

Looking at it from another perspective, any language can call another language through this ABI.

So any language with FFI can call any compiled binary code. For interpreted languages, you must embed the runtime (or interpreter).