~/talk

N-API - next generation Node API for native modules

Talkat NodeConf EU 2017 · 2017-11-05..11-08· [nodejs]
slides:none on file

N-API claims ABI stability so native modules compile once run anywhere, targeting Node 8 as an experimental feature and aiming for backports to 6 and 4 eventually. Demo uses a N-API–enabled leveldown and nvs to switch between Node 8 and ChakraCore without recompiling, proving the idea works. There is a C ABI plus a C++ wrapper published on GitHub/npm, a conversion tool that handles ~80% of Nan ports, and a goal to port the top 30 native modules.

AI-written summary · about

  1. 0:00Start
  2. 1:17Michael Dawson
  3. 2:30What Is an Api
  4. 5:43Demo
  5. 7:35Package Json
  6. 12:02Status Code
  7. 14:24Opaque Pointer
  8. 18:20C + + Wrapper Module
  9. 20:44Conversion Tool
  10. 21:13Backwards Compatibility
  11. 23:42Test Coverage
  12. 24:14The N Api Working Group
  13. 25:09Transition Period
~/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.