Web.Dev 3: The Role of C++ in the Modern Web

Sign in to queue


Writing code for multiple platforms can be a lot of work. It can be even more work to have to completely rewrite it for each one, too. What if you wrote an application in C++, but wanted it to be displayed in the browser somehow? Well now, with a tool called Emscripten, that's possible.

Emscripten is an LLVM based project that compiles C and C++ into highly performant JavaScript in the asm.js format. In short: near native speeds, using C and C++, inside of the browser.  Even better, emscripten converts OpenGL, a desktop graphics API, into WebGL, which is the web variant of that API, thereby allowing for high performance graphics within the browser.

You can find deeper tutorials on this topic at my blog, DaveVoyles.com

Topics Discussed












Download this episode

The Discussion

Add Your 2 Cents