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.
I previously wrote a blog post illustrating what Emscripten is, and how it works in relation to some of my favorite game development tools: Unreal Engine 4 and Unity. Therefore, I won’t go into great detail about how it works here, but instead wanted to focus on creating your own web project which takes advantage of Emscripten, so that you can take C / C++ code and get it running inside of the browser.
I have several other posts in this series:
- A beginner’s guide to WebGL
- Getting started with Emscripten
- Asm and WebGL for the Unreal Engine and Unity
Acknowledgement:
Alon Zakai (@Kripken) at Mozilla has been doing an incredible job of supporting Emscripten over the years. Much of this content came from his talks and presentations that I could find online. I’d suggest following along with his work to learn more about the project.
-----------------------
@DaveVoyles


Hey Dave do you have a video on publishing website using Github and visual studio? I created a new repository but I can’t get it to work!!!
Sure thing, here you go.
Thanks a lot! 🙂
Hi David,
It was very impressive that finally, I got someone who I am searching for an implementation of online code editors like the way that repl.it (www.repl.it) build it.
Please let me know in case if you can spend some time in getting it done as a part of the implementation.
regards
Nagesh