From: Luc Heinrich Date: 2008-12-12T00:21:58+09:00 Subject: Re: Q: FFI and C++? On 11 déc. 08, at 16:13, Jason Roelofs wrote: > Because of the complexity that C++ adds, I doubt that any feasible FFI > library can be made that works reliably against C++ libraries The problem in the case of C++ is its non-standardized ABI which prevents binding to libraries without knowing the name mangling scheme. Pretty much the same reason why bitfield structs aren't supported in libffi: because their layout is not standardized and thus compiler dependent. -- Luc Heinrich - luc@honk-honk.com