2 thoughts on “Multiplatform C++ on the Web with Emscripten”

  1. How have you dealt with the code size and compile time issues? Is steady-state performance currently acceptable in chrome and Firefox?

    This is super helpful, thanks for posting!

  2. In the slides there’s a bit about how we have an “iteration build” which can do a very unoptimized/unreadable build in just a few seconds.

    Regarding code size: Our engine, compiled, minified, and gzipped, works out to about 700 KB. We generally show a spinner and dynamically load that JS so the page loads quickly for people in the first place.

    Performance is actually great in Chrome and Firefox, and improving over time. The newest version of Chrome actually made our stuff substantially faster.

Leave a Reply

Your email address will not be published. Required fields are marked *