Top "Ffi" questions

A foreign function interface (FFI) is a mechanism for one language to interact with software written in another language.

How to expose a Rust `Vec<T>` to FFI?

I'm trying to construct a pair of elements: array: *mut T array_len: usize array is intended to own the …

rust ffi
How do I convert a cdata structure into a lua string?

I'm in the middle of writing a small application that needs to read some complex binary messages in LuaJit. I've …

lua ffi luajit
Error installing gems that use native extensions on Ubuntu, Ruby 1.9.2 via RVM

I get an error while trying to install the ffi gem: ~ - 16:54>gem i ffi Building native extensions. This …

ruby rubygems rake rvm ffi
Best way to call Haskell functions from within Java

I'm looking an efficient way of executing Haskell functions from within a Java program. I've considered the use of exec() …

java haskell ffi