~/talk

Embind and Emscripten: Blending C++11, JavaScript, and the Web Browser

Talkat CppCon 2014 · on Tuesday, 2014-09-09· at 15:15· Leibnitz· [web-platform, javascript]
links:none on file
slides:none on file

Explains concrete tooling and results: Emscripten compiles C++ to asm.js (~half native speed) and Embind exposes C++ libraries to JavaScript with a tiny implementation (three headers), using C++11 constexpr and variadic templates to emit compact runtime binding code. Covers bi‑directional calls, value types to avoid manual deletes, and wire‑type framing; reports 175 kilobytes saved from light type ids and about 200 nanoseconds overhead per cross‑language call. Shows working IMVU ports, WebGL and WebAudio examples.

AI-written summary · about

  1. 0:00Start
  2. 4:01Conclusion
  3. 4:38What Asm Js Is
  4. 5:02Memory Space
  5. 5:36Resources
  6. 9:39What Is Embind
  7. 13:12Implementation
  8. 13:42Inscription Bindings
  9. 14:58Javascript Properties
  10. 15:32Constants
  11. 15:48Overloading
  12. 17:06How You Bind Enumerations
  13. 18:00Manual Memory Management
  14. 24:09Common Wire Types
  15. 27:35C plus plus 11 Techniques
  16. 27:51Why Is Code Size Important with Mscriptin
  17. 30:04Function Table Signature Strings
  18. 30:37Generate a Compile Time String Literal
  19. 32:44Arg Types Array
  20. 34:42Polymorphic Pointers
  21. 35:35Light Mechanism
  22. 37:44Bind Overloads
  23. 40:43Select Overload To Take Pointers to Members
  24. 44:02Performance of Calling Javascript from C
  25. 50:14Is It Possible To Have Windows Apis
~/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.