When Compilers Disagree on the ABI
GCC and Clang compile the same function to two different calling conventions, and that breaks a promise libffi makes.
GCC and Clang compile the same function to two different calling conventions, and that breaks a promise libffi makes.
Christian Hergert wired the new ffi_call_plan API into GLib and made GClosure invocation up to 25 percent faster.
libffi re-derives the same argument layout on every call. A new API lets a caller build that layout once and reuse it, several times faster, with no writable-executable memory.
Node.js is shipping a built-in node:ffi module powered by libffi — a library I wrote 30 years ago.