~/talk

N-API - The new native in node.js

Talkat CascadiaJS 2018 · 2018-11-15..11-16· [nodejs, javascript]
slides:none on file

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

  1. 0:00Intro
  2. 0:27About me
  3. 3:29What this talk is not
  4. 4:32Why write native code
  5. 6:35Child processes
  6. 8:16FFI
  7. 9:53Build in V8
  8. 13:51Sample code
  9. 15:49Test File
  10. 17:18Process Image
  11. 25:41Selfie
  12. 26:05Save
  13. 26:15Tips
  14. 27:18Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.