# leaningtech/cheerp-meta

Cheerp - a C/C++ compiler for Web applications - compiles to WebAssembly and JavaScript

Repository: https://github.com/leaningtech/cheerp-meta
Canonical: https://ross.abutalabs.com/products/cheerp-meta
Homepage: https://labs.leaningtech.com/cheerp
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: cheerp, javascript, webassembly, c, cpp, compiler, typescript
Last push: 2025-09-24T21:10:53+00:00

## Health v2 (maintenance only)
Score: 42/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 43, release rhythm 8, longevity 100
- inputs: {"age_days": 4681, "days_push": 343, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1189, forks 56 (observed 2026-08-28T04:03:55.827690+00:00)

## What it is
Cheerp is an LLVM/Clang-based C/C++ compiler toolchain that compiles C and C++ code to WebAssembly and JavaScript for use in browsers and Node.js. It provides deep JavaScript interoperability (e.g. the [[cheerp::jsexport]] attribute) and custom optimizations to minimize output size and maximize performance.

## Use cases
- compile c++ code to webassembly
- port a c++ library to the browser
- run legacy c/c++ applications in html5
- use c++ libraries from javascript or typescript
- build high-performance web apps in c++
- expose a c++ api to javascript
- compile c++ to both wasm and js from one codebase

## When to choose
- you need to port existing C/C++ codebases or libraries to the web with minimal source changes
- you want fine-grained JavaScript/DOM interoperability from C++ without wrappers
- you want a single codebase emitting both WebAssembly and JavaScript output
- you need an Apache 2.0-licensed alternative to Emscripten with strong optimization

## When to avoid
- you are writing a new web application in JavaScript/TypeScript with no C/C++ code
- you need server-side native compilation rather than browser/wasm targets
- you require a very mature LTS release and cannot use nightly builds
- your team has no C/C++ expertise and Emscripten's larger ecosystem would fit better

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, build-tool, wasm, developer-tools
- domain: compilers, web-development, programming-languages, cross-platform
- platform: windows, browser, wasm, cli
- tags: cpp-to-webassembly, llvm-clang, javascript-interop, jsexport, legacy-porting, toolchain, leaningtech, linux, macos, nodejs

## Member repositories
- leaningtech/cheerp-meta (main) score 42

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:55.827690+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:23:19.152838+00:00, confidence not recorded.
  - readme: https://github.com/leaningtech/cheerp-meta (fetched 2026-08-28T04:03:55.827690+00:00, sha 3d822df59380)
  - homepage: https://labs.leaningtech.com/cheerp (fetched 2026-08-29T12:30:30.927543+00:00, sha f1354cfcc364)
  - site_page: https://cheerp.io/docs/guides/js-interop (fetched 2026-08-29T12:30:30.935774+00:00, sha 9c9bd0e82435)
  - site_page: https://cheerp.io/docs/reference/attributes/jsexport (fetched 2026-08-29T12:30:30.937566+00:00, sha 9db55f166174)
  - site_page: https://cheerp.io/docs/overview (fetched 2026-08-29T12:30:30.930202+00:00, sha 9b91d6049d39)
  - site_page: https://cheerp.io/docs/getting-started/tour (fetched 2026-08-29T12:30:30.932195+00:00, sha bf0f27ea2d0f)
  - site_page: https://cheerp.io/docs/getting-started/installation (fetched 2026-08-29T12:30:30.933957+00:00, sha 61549354edef)
  - site_page: https://cheerp.io/docs/reference/sections (fetched 2026-08-29T12:30:30.939405+00:00, sha 2d79a31dd380)
  - site_page: https://cheerp.io/docs (fetched 2026-08-29T12:30:30.940968+00:00, sha 20f992d98ef8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
