Loading…
CppCon 2014 has ended
Tuesday, September 9 • 3:15pm - 4:15pm
Embind and Emscripten: Blending C++11, JavaScript, and the Web Browser

Log in to save this to your schedule and see who's attending!

Emscripten compiles C or C++ source code into JavaScript so it can run in a web browser. Emscripten is commonly used to port games to the web with no download or plugin required.

Embind is a C++11 binding library that makes it easy to expose libraries written in C++ to JavaScript. This allows JavaScript applications to take advantage of existing bodies of C++ code. In addition, C++ compiled into the asm.js subset of JavaScript is often faster than hand-written JavaScript, so Embind makes it convenient to accelerate JavaScript applications by writing high-performance functionality in C++.

With several motivating examples, this lecture will cover the design of embind, how variadic templates and constexpr facilitate interesting optimizations, and how embind minimizes its impact on the size of the generated JavaScript.

Speakers
avatar for Chad Austin

Chad Austin

Technical Director, IMVU
Chad is a Senior Technical Director at IMVU, where he works on highly scalable backend systems, front-end web architectures, and optimizing the bits and bytes of 3D graphics pipelines. C++ was Chad's first love, and he once mowed "C++" into his back yard before a rainstorm, where... Read More →


Tuesday September 9, 2014 3:15pm - 4:15pm
Leibnitz

Attendees (0)