Top "Ffi" questions

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

Mixing Haskell and C++

If you had the possibility of having an application that would use both Haskell and C++. What layers would you …

c++ haskell ffi
Calling Haskell functions from Python

I want to use some Haskell libraries (e.g. Darcs, Pandoc) from Python, but it seems there’s no direct …

python haskell binding ffi
How do I call C from Go using the "foreign function interface"

How do I use Go's "foreign function interface" to call out to a C function? This interface is mentioned on …

c go ffi
ERROR: Error installing ffi: ERROR: Failed to build gem native extension

I am getting this error in Mac 64 bit and have xcode inatalled on machine. Building native extensions. This could take …

macos file makefile ffi
unable to install compass

Last week I made an update in cygwin because of the bash "vulnerable problem". After that I couldn't compile sass …

ruby cygwin ffi compass
Rust FFI. Casting to void pointer

I've a function which has prototype as below //opaque struct struct mosquitto; struct mosquitto *mosquitto_new(const char *id, bool …

rust ffi
How to invoke bash or shell scripts from a haskell program?

I'm writing some shell scripts with haskell, which I'm running in gitbash, but there are a few other existing scripts …

shell haskell ffi
Calling Haskell from C#

I just spent the last week or so figuring out how to execute C++ code from C# as part of …

c# haskell ffi
Understand foreign function interface (FFI) and language binding

Mixing different programming languages has long been something I don't quite understand. According to this Wikipedia article, a foreign function …

language-agnostic programming-languages binding ffi
How to use LuaJIT's ffi module when embedding?

I'm trying to embed LuaJIT into a C application. The code is like this: #include <lua.h> #include &…

c lua ffi luajit