~/talk

A Love Story Between JavaScript and C++

TalkinSpanishat JSConfCO 2018 · on Friday, 2018-11-16· [javascript, webassembly]
github:xfry
slides:none on file

Shows moving performance-critical functions from JavaScript/Node.js into C++ for procedural level generation, comparing two concrete approaches: using FFI to load native binaries into Node, and compiling C++ to WebAssembly with Emscripten to serve from Node.js+Express. Demonstrates calling a .wasm library from a server to animate a rectangle on a canvas, and reports speed benefits as well as practical downsides (extra complexity, native code maintenance, and WebAssembly’s experimental status in production).

AI-written summary · about

  1. 0:00JavaScript and C++ love story
  2. 1:04JavaScript origin and evolution
  3. 3:12JavaScript performance problems
  4. 4:16FFIs with Node.js demo
  5. 8:34FFI disadvantages
  6. 9:57WebAssembly vs FFIs
  7. 12:06Emscripten setup
  8. 13:10Emscripten C++ demo
  9. 18:30JS and C++ with Emscripten
  10. 20:37Emscripten use cases
  11. 21:42Limitations and thoughts
~/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.