Re:FLI: A binary interface to let Scheme use Python, Lua, Ru...
by __Joker on Friday December 14, 2018 @09:33AM
(#18681035)
Can anybody explain how this works ? Is it only works for interpreted languages ?
[ Parent
| on HN ]
Re:FLI: A binary interface to let Scheme use Python, Lua, Ru...
by guenchi on Friday December 14, 2018 @12:37PM
(#18682683)
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).