# Cheerp
**Repository Path**: mirrors/Cheerp
## Basic Information
- **Project Name**: Cheerp
- **Description**: Cheerp 是一个基于 LLVM monorepo 的 C++ 编译器,允许将 C/C++ 代码编译为 WebAssembly 和 JavaScript
- **Primary Language**: C/C++
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: https://www.oschina.net/p/cheerp
- **GVP Project**: No
## Statistics
- **Stars**: 3
- **Forks**: 1
- **Created**: 2022-03-02
- **Last Updated**: 2026-02-14
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

[](https://discord.leaningtech.com)
[](https://github.com/leaningtech/cheerp-meta/issues)
[](https://npm.im/cheerp)
Cheerp is an open-source, permissively licensed, enterprise-grade C/C++ compiler for Web applications. It compiles virtually any C/C++ code to WebAssembly and JavaScript.
[Documentation](https://labs.leaningtech.com/cheerp)
[Issues](https://github.com/leaningtech/cheerp-meta/issues)
[Discord server](https://discord.leaningtech.com)
## What is Cheerp?
Cheerp is a C/C++ compiler to WebAssembly and JavaScript, based on and integrated into the LLVM/Clang infrastructure, and featuring numerous custom optimisation steps to maximise performance and minimise size of the compiled JavaScript/WebAssembly output. Thanks to this, Cheerp is the best performing, most optimised C++ to WebAssembly compiler available on the market.
Cheerp is used primarily to port existing C/C++ libraries and applications to HTML5, but can also be used to write high-performance Web applications and WebAssembly components from scratch. Using Cheerp, C/C++ code gets compiled into JavaScript/WebAssembly and optimised, with the right JavaScript interfaces being exposed, and can easily be integrated in a web application.
## Repository structure
This repository (cheerp-meta) holds Cheerp's npm packages and tracks Cheerp issues.
Other repositories hold various components of Cheerp:
- [cheerp-compiler](https://github.com/leaningtech/cheerp-compiler) - primary
- [cheerp-musl](https://github.com/leaningtech/cheerp-musl)
- [cheerp-utils](https://github.com/leaningtech/cheerp-utils)
- [cheerp-libs](https://github.com/leaningtech/cheerp-libs)
## Licensing
Cheerp is licensed under the [Apache 2.0 License with LLVM exceptions](/LICENSE), i.e. the same license of upstream LLVM/Clang. It is actively developed and maintained by Leaning Technologies. Commercial support, feature fast tracking, sponsored development and consulting packages are available for Enterprise customers.