Would be interesting to know which ffi backend library is used for each.
libffi, dyncall, self-written, a jit library, llvm, ...
In my tests these varied wildly. It has nothing to do with the language using these.
libffi, dyncall, self-written, a jit library, llvm, ...
In my tests these varied wildly. It has nothing to do with the language using these.
https://github.com/dyu/ffi-overhead/issues
I didn't do so because it wasn't my idea. I certainly don't mind though.