Yes, we need
excellent FFI. I would love to see in Pharo FFI as easy as
Julia [1] or LuaJIT [2]. I am not qualified to do deliver
such. And I do not know how possible, how much effort or
likely it is.
in pharo a FFI call is as easy as:
copy: source to: dest
<primitive:
#primitiveNativeCall module: #NativeBoostPlugin error:
errorCode>��
��self
nbCall: #( char * strcpy( char *dest, char *source ) ) module:
���libc���.
we can improve performance, but I do not think we will
succeed on make it easier than that.��
of course, someone could do a symbol introspector (and I
think someone already did something to interpret header
files), to be able to have things like:��
LibC.strcpyWith: dest with: source
but I do not thing is a big win over the first one.��
Esteban