FFI in Programming Languages
The cluster focuses on Foreign Function Interfaces (FFI), particularly C interoperability, performance, ease of use, and comparisons across languages like Python, Lua, Java, Rust, and others.
Activity Over Time
Top Contributors
Keywords
Sample Comments
For many languages isn't that the FFI to C?
Just like any language with FFI capabilities to call the same libraries.
Unless it has good FFI support for C...
Why Java interoperability instead of a good C FFI? That's what Perl/Ruby/Python/Lua/... are doing, and it works for them.
Any plans to add C bindings? Most other languages have a decent FFI story, and being usable from C will make it more universally usable.
Are you aware of any language's whose FFI is that trivial?
Having a C API for easy FFI doesn't imply a C implementation
libffi author here...Did you consider writing a purpose-built JIT compiler? I believe the FFI use-case is narrow enough that a tiny hand-written JIT compiler would be pretty easy... like the old QEMU template based JIT.
It has FFI, so you can call other libs as long as they are C-compatible.
LuaJIT w/ FFI seems better imo.