Node.js 26.9 turns node:ffi on by default at 37 nanoseconds a call
DEV Community
Node.js 26.9 turns node:ffi on by default at 37 nanoseconds a call
Node.js 26.9 enables node:ffi by default. I measured a trivial FFI call at 37ns against 35ns for a compiled N-API addon and 3ns for plain JS, then found where it helps, where it silently corrupts data, and where it segfaults.
Node.js 26.9 enables node:ffi by default. I measured a trivial FFI call at 37ns against 35ns for a compiled N-API addon and 3ns for plain JS, then found where it helps, where it…
0 comments
No comments yet.