Show HN: Cppbolt – A lightweight C++ to WebAssembly compiler written in Rust
Hey HN! I've been working on cppbolt, a lightweight C++ to WebAssembly compiler written in Rust. The idea was to build something that can compile and run C++ directly in the browser without downloading a massive LLVM/Clang toolchain. Unlike projects that bundle LLVM/Clang and can require 100+ MB of compiler assets, cppbolt's compiler payload is around 1 MB. It compiles a supported subset of C++17 directly to standard WebAssembly binaries. Some things it supports: - Classes, inheritance, virtual
Read original sourceSource record
Recorded metrics
points · 3 votes
2026-11-05 16:03:39.457Z
cumulative since publication
Research analysis
Project record
Repository: AJTimePyro/cppbolt. Source account: Hey HN! I've been working on cppbolt, a lightweight C++ to WebAssembly compiler written in Rust. The idea was to build something that can compile and run C++ directly in the browser without downloading a massive LLVM/Clang toolchain. Unlike projects that bundle LLVM/Clang and can require 100+ MB of compiler assets, cppbolt's compiler payload is around 1 MB. It compiles a supported subset of C++17 directly to standard WebAssembly binaries. Some things it supports: - Classes, inheritance, virtual
Observed adoption & comparisons
Source votes: 3 votes (Nov 5, 2026 UTC; cumulative since publication); previous same-scope observation: 3 (Nov 5, 2026 UTC). These observations do not establish demand growth.
Adoption decision
Evaluate it against the tool or manual workflow it would replace. The stored record supports discovery; it does not yet establish reliability, lower operating cost or commercial adoption.
Unverified requirements
Not verified: license permissions, required hardware, installation steps, maintenance status and a representative task with its failure cases.
Next test
Choose one real task and a current alternative. Record the commit, environment, input, output, elapsed time and failure behavior; retain the result before recommending adoption.