Skip to content

WebAssembly: compiling C++ for the web and more

  • What is Webassembly?
    • overview
    • differences to traditional c++ programs
  • How can C++ be used for applications in the web browser
  • compatible UI frameworks: Qt, SDL, imgui
  • toolchains and build support
    • emcc, emmake, emcmake, toolchain file
    • special compiler flags
  • limitations
  • special solutions
    • support wasm and native targets from the same codebase
    • embed webassembly artifacts into native server applications using cmake, externalProject and cmakeRC
    • running webassembly outside of the webbrowser: node, wasmtime