~/talk

Writing node modules with v8

Talkat JSConf EU 2011 · 2011-10-01..10-02· [nodejs, javascript]
links:none on file
slides:none on file

Explains building Node native modules with the V8 C++ API, node-gyp and libuv thread pool, and shares a GitHub repo (github.com/kkfor/node-cppmodules). Shows a microbenchmark where native C++ hits 80M calls/sec while a V8 extension runs ~13M calls/sec and a callback-based async drop to 1.7M, demonstrating the JS/C++ boundary cost. Covers baton/persistent-handle patterns, safe use of worker threads (no V8 handles off-thread), and real modules like node-sqlite3 and nodeblend.

AI-written summary · about

  1. 0:00Start
  2. 6:17General Recommendations for Developing
  3. 7:36Handle Scope
  4. 17:55Persistent Handle
~/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.