~/talk

N-API: The Next Generation Node.js API is Ready!

Talkat Node+JS Interactive 2018 · on Wednesday, 2018-10-10· at 11:40· West Ballroom B· [nodejs]
slides:none on file

N-API claims to deliver ABI stability across Node.js versions, letting native modules run without recompilation; the demo shows leveldown compiled once works on Node 8 (stable), Node 10 (stable/LTS) and moves between engines. About 30% of npm depends on native modules. The C API uses napi_status returns, a napi_env opaque token, napi_get_cb_info and napi_create_string_utf8 calls; node-addon-api provides a node-addon-api C++ wrapper. A NAN-to-N-API conversion script handles roughly 80% of changes and a native logger reports 4–7× speedups.

AI-written summary · about

  1. 0:00Introduction
  2. 2:21The challenge of native modules
  3. 7:42Understanding N-API
  4. 12:14Evolution from NAN to N-API
  5. 14:34Live demonstration
  6. 17:28Implementation details
  7. 22:10Code examples and conversion
  8. 25:10Community feedback and benefits
  9. 27:35Call to action and conclusion
~/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.