C+

C+ Playground

loading…
Squares (loop): Basic while loop, explicit wrapping multiplication (*%), and #println. Check & IR compiles the full language to LLVM IR · Run executes the single-file i32 core in WebAssembly
single-file · no server · runs locally in WebAssembly
Press Run ▸ to execute in the browser, or Check & IR to type-check the full language and inspect LLVM IR.

• Check & IR supports the full single-file C+ language: structs, enums, generics, ownership/borrow checking, #[realtime] contracts, and LLVM IR emission.
• Run ▸ executes the i32 scalar subset directly in WebAssembly (and automatically falls back to Check & IR for structs/enums).