14 March 2023: Cheerp 3.0 released and relicensed to Apache 2.0 licence! Release notes here.
What is Cheerp?
Cheerp is an enterprise-grade C/C++ compiler for the web that can compile C/C++ into WebAssembly and JavaScript. It is open source, liberally licensed (LLVM licence) and is actively developed by Leaning Technologies.
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.
Customer Stories
Interior design CAD solution for home planning powered by Cheerp
Digital identity verification solution powered by Cheerp
Are you considering a project with Cheerp?
Other Resources
Blog and News
Industry and Product Insights
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
- Apache 2.0 License with LLVM exceptions (LLVM licence)
- C/C99/C++99/C++11/C++14/C++17/C++20 compliant
- Command line LLVM utilities
- Documentation and tutorials
- SourceMap enabled debugging
- Community support on Discord
Enterprise
- Apache 2.0 License with LLVM exceptions (LLVM licence)
- C/C99/C++99/C++11/C++14/C++17/C++20 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
- Feature prioritisation and sponsored development available
- Access to our development team for compilation log reviews, video calls, consulting