~/talk

N-API on JerryScript

Talkat Node+JS Interactive 2018 · on Thursday, 2018-10-11· at 09:00· West Meeting Room 118-120· [nodejs, javascript]
slides:none on file

Implements N-API on JerryScript so ABI-stable Node native add-ons can run on a tiny VM whose entire heap is a linker section (≈1 KB) and that enforces strict memory checks. Uses a test-conversion script (binding.gyp → CMake), Babel to downlevel ES6, and adds library constructors and a JerryScript context data API to attach per-global envs; implements weak references by scanning engine objects (inefficient but functional). Many N-API tests build and run after Node.js test cleanups; symbols and some ES6 features remain blockers.

AI-written summary · about

  1. 0:00Intro
  2. 0:27What is Jerry Script?
  3. 2:52What is N-API?
  4. 4:17JerryScript Requirements for N-API
  5. 8:28N-API Test Conversion
  6. 12:17jerry get_context data
  7. 15:47Module Support - FEATURE INIT FIND
  8. 21:16Module Support - Trace through
  9. 22:16Weak References
  10. 27:18The Code
~/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.