Cheerp
Docs Blog Demos
Cheerp
  1. Overview
  2. Getting started
    1. Tour
    2. Installation
    3. Usage
  3. Guides
    1. Build systems
      1. Make
      2. CMake
      3. Autoconf
    2. JavaScript interoperabiity
      1. TypeScript
      2. Clientlib migration guide
    3. Reference
      1. `webMain`
      2. Arguments: `argv` and `argc`
      3. Environment variables
      4. Sections
        1. wasm
          1. Memory model
        2. genericjs
          1. Custom allocators
          2. Arrays and TypeArrays
          3. Memory model
      5. Command line options
        1. Targets
        2. Modules
        3. Exceptions
        4. Sourcemaps
        5. Address Sanitizer
        6. `-cheerp-linear-heap-size`
        7. `-cheerp-linear-output`
        8. Other options
      6. Attributes
        1. `[[cheerp::jsexport]]`
        2. `[[cheerp::wasm]]`
        3. `[[cheerp::genericjs]]`
        4. `[[noinit]]`
      7. Interop
        1. `CHEERP_SAFE_INLINE`
        2. `__asm__`
      8. Browser APIs
        1. OpenGL ES
        2. Complex types
      9. Cheerp Memory Profiler
      10. `__CHEERP__` macro
      11. Intrinsics (advanced)
    4. Tutorials
      1. Hello, Wasm!
      2. Modifying the DOM
      3. Pong with Cheerp
      4. Threading with Web Workers
      5. DOM manipulation
    5. Explanation
      1. Cheerp PreExecuter
    6. Building from source
      1. How to build Cheerp on Windows
      2. How to build Cheerp on Linux
    7. Changelog
    8. Contributing

    Command line options

    • Targets
      WebAssembly, JavaScript, and WASI
    • Modules
      Create JavaScript modules or CommonJS with `-cheerp-make-module`
    • Exceptions
      Enable C++ exceptions with `-fexceptions`
    • Sourcemaps
      Generate source maps with `-cheerp-sourcemap`
    • Address Sanitizer
      `-fsanitize=address` support
    • `-cheerp-linear-heap-size`
    • `-cheerp-linear-output`
    • Other options
    Sections Attributes
    Leaning Technologies
    UK Business Tech Awards 2022 Finalist National Technology Awards 2022 Winner

    Technology

    • Cheerp
    • CheerpJ
    • CheerpX
    • CheerpX for Flash
    • BrowserPod

    Browser extensions

    • CheerpJ Applet Runner
    • CheerpJ JNLP Runner

    Resources

    • Documentation
    • Blog
    • GitHub
    • Contributing

    Company

    • About us
    • News
    • Privacy policy
    • Careers

    © 2026 Leaning Technologies . All rights reserved.

    Cheerp is a registered trademark of Leaning Technologies. The Cheerp, CheerpJ, and CheerpX logos are based on the HTML5 logo by W3C (license)