Show HN: Cppbolt – A lightweight C++ to WebAssembly compiler written in Rust
Category: devtools
Tags: cpp, webassembly, compiler, rust, wasm
Score: 7.0/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 5)
CppBolt is a dependency-free C++17 subset compiler written in Rust that emits WebAssembly directly, bypassing LLVM, Emscripten, and external toolchains. It runs both natively as a CLI and in the browser via a WASM build of the compiler itself, offering deterministic compilation speed and small binaries for a well-defined language subset. The project is notable for implementing a full front-end pipeline and WASM codegen from scratch with extensive testing and documentation.
Target audience: Compiler engineers, systems developers, and web developers interested in running C++ in the browser without Emscripten
Repository: https://github.com/AJTimePyro/cppbolt · Rust · Apache-2.0 · 1 stars
View on Hacker News