I\'m writing FFI ruby wrapper for the google\'s cityhash library(c++). So, what the best way to make it cross-platform (linux, windows, macos)? Do I nee开发者_高级运维d compile google\'s library to th
I am in the somewhat unfortunate position of interfacing C and Prolog code. We have some data collection code in C, and some analysis code in Gnu-Prolog. So what is the best method to interface C and
I want to set up a project to take my .hs code, and my main .c program, and result in a statically linked executable through the use of LLVM compiler.I can get things working via ghc command line opti
If using Haskell as a library being called from my C program, what is the performance impact of making calls in to it?For instance if I have a problem world data set of say 20kB of data, and I want to
I recently looked into Lua and it seems really nice. The only annoying thing is its lack of (standard) libraries. But with the JIT compiler comes along a nice FFI C interface.
I am trying to wr开发者_如何学运维ite ffi for pdflib library ( pdflib.com ) using c2hs on 64 linux.
I\'m considering a functional language that will play well with my environment of C/Objective-C under FreeBSD, OSX, iOS.It looks like my best bet is to create functional-language libraries for specifi
Mixing different programming languages has long been something I don\'t quite understand. According to this Wikipedia article, a foreign function interface (or FFI) can be done in several ways:
I am trying to use ffi to call opencv\'s cvReleaseCapture, void cvReleaseCapture( CvCapture** capture );
I\'m writing Ruby app and I want to use some top-secret algorithms. So how would be the best to protect them from unauthorized access.