ffi
Cross-platform Ruby FFI library
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[详细]
2023-03-03 08:53 分类:问答How to interface between C and gprolog?
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[详细]
2023-02-28 16:32 分类:问答How can I compile and use Haskell as a C library using Xcode LLVM compiler?
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[详细]
2023-02-27 01:42 分类:问答Performance considerations of Haskell FFI / C?
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[详细]
2023-02-26 04:07 分类:问答How difficult is the LuaJIT FFI?
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.[详细]
2023-02-25 04:07 分类:问答Haskell FFI for pdflib
I am trying to wr开发者_如何学运维ite ffi for pdflib library ( pdflib.com ) using c2hs on 64 linux.[详细]
2023-02-22 18:40 分类:问答Haskell, FFI, and Grand Central Dispatch?
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[详细]
2023-02-21 14:49 分类:问答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 interface (or FFI) can be done in several ways:[详细]
2023-02-20 11:22 分类:问答Gambit Scheme FFI
I am trying to use ffi to call opencv\'s cvReleaseCapture, void cvReleaseCapture( CvCapture** capture );[详细]
2023-02-20 05:31 分类:问答Protect Ruby code
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.[详细]
2023-02-18 21:23 分类:问答