N-API - The new native in node.js
summary
Claims that N-API provides a stable with Node 10 bi‑stable binary ABI that avoids recompiles across Node versions, demonstrates calling C++ via ImageMagick to read buffers, overlay rain and frame images, and returns buffers to JavaScript. Shows both synchronous and asynchronous implementations, uses an async worker / background thread to avoid blocking the main thread, and loads the same module in Electron without recompilation; demos succeed and source code is on the uploader's linked repo.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:27About me
- 3:29What this talk is not
- 4:32Why write native code
- 6:35Child processes
- 8:16FFI
- 9:53Build in V8
- 13:51Sample code
- 15:49Test File
- 17:18Process Image
- 25:41Selfie
- 26:05Save
- 26:15Tips
- 27:18Outro








