~/talk

A Not too Beginner's Guide to C++ Node Bindings

Talkat UtahJS Conf 2022 · on Friday, 2022-09-23· [nodejs, c-and-cpp]
links:none on file
slides:none on file

Covers building C++ Node add-ons using node-api and the NAN abstractions, with a concrete project that moves image-mosaic color averaging into a C++ thread and reduces backend latency enough to justify the work. Shows packaging with node-gyp, explains required toolchains (Visual Studio build tools on Windows, Xcode on macOS, GCC/GDB on Linux), discusses prebuild vs build-on-install tradeoffs and cross-platform testing, and notes a working repo plus debugger and unit-test hooks added later.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 2:57What are Node add-ons
  3. 7:17Demo project walkthrough
  4. 10:54Using node-gyp for builds
  5. 13:24Build process and tools
  6. 16:09Cross-platform and distribution
  7. 19:24What is node-gyp
  8. 21:12Performance considerations
  9. 22:22Testing node add-ons
  10. 23:24Weird and wacky ideas
  11. 24:48Closing and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.