If you are going to use C++ in a web application you will have to connect your code to code that can make changes to the HTML UI. The creators of Emscripten have it all covered but it is not necessarily well documented.

Calling simple C functions is simple but passing complex data structures back and forth can be a bit more tricky.

We also want to leverage the strongly typed Typescript language which will allow us to develop our web app much faster.

Emscripten has a tool called embind that will expose our C++ classes to the Javascript engine…

Stéphane Konstantaropoulos

Highly skilled software engineer focussed on C++ on mobile and web.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store