Cheerp 2.6 is now available. Check it out! Release notes here.

Cheerp

is an enterprise-grade C/C++ compiler for the Web

can compile C/C++ into WebAssembly and JavaScript

open source, with dual licence (GPLv2 & commercial)

actively developed and backed by Leaning Technologies expertise

CHEERP

The enterprise-grade C/C++
compiler for the Web

Performance oriented

Fastest and leanest output, thanks to our optimizations performed on top of the LLVM industry standard.

Production ready

Tested on complex real-world codebases, for solving real problems effectively.

First class interoperability

Zero-overhead interactions with browser, DOM, WebAPIs (WebGL/WebAudio), or other libraries. Easy for the developer, and extremely efficient.

Enhanced debug

Source maps and a custom memory profiling tool are provided to improve the development cycle.

Developer friendly

Warnings are clear and guide towards solving any problem, along with extensive documentation and tutorials.

Powerful add-ons

In-browser memory profiling, filesystem emulation, OpenGL compatility layer, and several others.

WHY CHEERP?

Unique features

JavaScript interoperability

Expressive intefacing with JavaScript libraries and the DOM, without wrappers or any overhead.

Export C++ with [[cheerp::jsexport]]

Expose a C++ API to be called from external JavaScript libraries or interfaces, or directly from your page.

Combine memory models

Combine fast linear memory with garbage collectible JavaScript objects, the best of both worlds.

Maintain one code base

Cheerp automatically generates both a WebAssembly module & a highly compatible JavaScript module, from one single code base.

The performance and size of the converted code have been always quite impressive, but in the last year, Cheerp has further dramatically improved the runtime speed, and drastically reduced the compiled size, allowing us to save on bandwidth and resources, as well as to extend our customer base.

As a matter of fact, the performance is so good that in 2017 we stopped delivering any alternative native version and moved to a web-only application!

Vincent Picou

CEO
3DVIA – Dassault Systèmes

GET CHEERP

Licences

Community

  • GLPv2 license, for open source projects
  • C/C99/C++99/C++11/C++14 compliant
  • Command line LLVM utilities
  • Documentation and tutorials
  • SourceMap enabled debugging
  • Community support on Gitter

Indie

  • Commercial non-copyleft licence, for any project
  • C/C99/C++99/C++11/C++14 compliant
  • Command line LLVM utilities
  • Documentation and tutorials
  • SourceMap enabled debugging
  • Add-ons: Filesystem & in page memory profiler
  • Community support on Gitter
  • Available to individual developers and small businesses

£99 per developer, per year 

Enterprise

  • Commercial non-copyleft licence, for any project
  • C/C99/C++99/C++11/C++14 compliant
  • Command line LLVM utilities
  • Documentation and tutorials
  • SourceMap enabled debugging
  • Add-ons: Filesystem & in page memory profiler
  • Enterprise-grade technical support with tailored SLAs
  • Access to our development team for compilation log reviews, video calls, consulting
  • Available to any business

Contact us for a quote

GIVE IT A TRY!

Download Cheerp

Cheerp is open-source software. Build it from source following these instructions for Linux or Windows.

HOW WE CAN HELP

WebAssembly experts ready for
your porting project

ADDITIONAL READS

Deep-dives into Cheerp

Cheerp Demos

Interact with a range of existing examples of Cheerp in action.

PreExecuter

A deep-dive on a powerful custom optimization to reduce build size.

BigInt.js

How a high-performance JavaScript numerical library was converted from C++ with Cheerp.

Menu