~/talk

How NodeJS Works (V8, libuv, async, bindings)

TalkinRussianat OdessaJS 2015 · 2015-08-21..08-22· [nodejs]
links:none on file
slides:none on file

Explains Node.js internals: why V8 was chosen, how C++ and JavaScript interoperate using function and object templates, and how native modules are registered in C++ structures and loaded as bundles. Describes embedding JS sources into the binary and calling them via wrappers, and shows how asynchrony is handled by the external event loop libuv with nonblocking syscalls and sockets.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17Node.js importance
  3. 3:45V8 engine
  4. 5:57C++ bindings
  5. 9:10JS execution context
  6. 11:23C++ modules
  7. 14:51Loading native modules
  8. 18:24JS modules
  9. 21:59Native modules in JS
  10. 23:46JS module wrappers
  11. 25:57Runtime globals
  12. 27:21Running main script
  13. 28:05Async and event loop
~/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.