~/talk

Next Generation N-API: A Hands-on Workshop

Talkat Node+JS Interactive 2019 · 2019-12-11..12-12· [nodejs]
links:none on file
links:none on file
slides:none on file

Hands-on coverage of N-API v1–v6 shows exact APIs and build tools used: thread-safe functions (v4) for safe cross-thread callbacks, napi_set_instance_data (experimental toward v6) and cleanup hooks/finalizers to avoid worker-thread leaks, and the v5 finalizer/date additions. Examples use node-addon-api (C++ wrapper, 300k downloads/week), binding.gyp, prebuild/node-pre-gyp and cmake-js for distributing binaries, and step-by-step porting tutorials that demonstrate compiling, running, and cleaning up native add-ons across Node versions.

AI-written summary · about

  1. 0:00Start
  2. 3:29Objectives of the workshop
  3. 9:11Abstraction of the underlying JavaScript engine Defines and exports Ctypes and functions that are independent from the JavaScript engine A binary-stable ABI
  4. 15:04Context Awareness
~/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.