# 3dgen/cppwasm-book

:books: WebAssembly friendly programming with C/C++ -- Emscripten practice

Repository: https://github.com/3dgen/cppwasm-book
Canonical: https://ross.abutalabs.com/products/cppwasm-book
Language: C++
License Family: other
Topics: c, cpp, wasm, webassembly, emscripten
Last push: 2024-04-17T14:37:31+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2899, "days_push": 868, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1400, forks 171 (observed 2026-08-28T04:04:37.085401+00:00)

## What it is
An open-source book, 'WebAssembly friendly programming with C/C++', teaching Emscripten-based WebAssembly development with C/C++. The repo hosts the bilingual (Chinese/English) source of the book, which has also been published in print.

## Use cases
- learn how to compile C/C++ to WebAssembly with Emscripten
- understand WebAssembly memory and module concepts
- port existing C/C++ libraries to the browser
- find Emscripten best practices and examples
- study WebAssembly interop with JavaScript

## When to choose
- you want a structured tutorial on C/C++ WebAssembly development
- you are starting with Emscripten and need practical guidance
- you prefer a free open-source book with bilingual content

## When to avoid
- you need a tool or library rather than learning material
- you work with Rust or Go instead of C/C++
- you need up-to-date coverage of the newest WebAssembly features

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: wasm, compiler, documentation
- domain: tutorials, web-development, programming-languages
- platform: wasm, cross-platform
- tags: emscripten, webassembly, c-cpp, book, open-source-book, web-server

## Member repositories
- 3dgen/cppwasm-book (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:37.085401+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-30T04:39:04.952483+00:00, confidence not recorded.
  - readme: https://github.com/3dgen/cppwasm-book (fetched 2026-08-28T04:04:37.085401+00:00, sha a9dc305d9754)
- Data as of 2026-08-30T08:39:29.467469+00:00.
