# WasmCoffee > WasmCoffee is an in-browser, client-side WebAssembly (Wasm-GC) compiler and interactive IDE written in Odin by Ewald Horn at NoFuss Solutions. It compiles source code written in modern Java-inspired syntax directly to WebAssembly GC bytecode inside a Web Worker and runs it on the same page with no server uploads and no JVM dependency. * Live IDE: https://wasmcoffee.com/ * Standard Library & API Reference: https://wasmcoffee.com/docs.html * Architecture Case Study: https://nofuss.co.za/case-studies/wasmcoffee/ * Project Overview on NoFuss Solutions: https://nofuss.co.za/wasmcoffee/ * Developer & Consultancy: https://nofuss.co.za/ ## Architecture * Compiler written from scratch in the Odin programming language and compiled to `js_wasm32` (`wasmcoffee.wasm`). * Off-thread compilation inside a dedicated Web Worker with a fresh `WebAssembly.Instance` per compile. * Emits native WebAssembly Garbage Collection (Wasm-GC) bytecode (`struct.new`, `array.new_data`, `ref.test`) executed directly by modern browsers (Chrome 119+, Firefox 120+, Edge 119+, Safari 18.2+). * 100% client-side execution: no backend compiler, no Docker container, no JDK or JVM installation required. ## Language & Standard Library * Object-oriented programming: classes, inheritance, abstract classes, interfaces, polymorphism, method overloading and overriding, and strict access control. * Modern Java-inspired features: `record` types with compact and canonical constructors, record patterns (JEP 440), unnamed patterns and variables `_` (JEP 456), `sealed` hierarchies with `permits`, `instanceof` and `switch` pattern matching, switch expressions, native `enum` types, lambdas, method references, and exceptions. * Generics & Collections: generic classes and methods, `import module java.base;` (JEP 511), `ArrayList`, `HashMap`, `HashSet`, `ArrayDeque`, `PriorityQueue`, `LinkedList`, `SequencedCollection`, `Collections` algorithms, `Arrays.sort`, `Arrays.binarySearch`, `Objects`, `BigDecimal`, `StringBuilder`, `String.formatted()`, `System.out.printf()`, `Math` intrinsics (`clamp`, `floorDiv`, `floorMod`), and `java.util.stream` (`Stream`, `Collectors`). ## Graphics, Input & IDE Features * Three browser rendering paths: HTML5 Canvas 2D handle bridge (`Web`), batched Canvas 2D command buffer (`Batch` / `BatchCanvas`) flushing in a single call per frame, and direct linear memory 32-bit pixel framebuffer (`Surface`, `Color`, `Vec2i`, `Vec2d`, `Rect`, `Mathf`, `Rng`, `Memory.*`). * Interactive keyboard and pointer events, `System.in` / `IO.readln()` stdin drawer, `System.nanoTime()`, and Web Audio sound triggers. * Tabbed multi-file IDE powered by CodeMirror 6 with clickable compiler error diagnostics and persistent local storage. * Four-way standalone export: compiled `.wasm` binary, project source `.zip`, standalone static web app `.zip`, and self-contained single file `.html` runnable offline from disk. ## About NoFuss Solutions & Related Projects WasmCoffee is built by **Ewald Horn**, founder of **NoFuss Solutions** in Cape Town, South Africa. NoFuss Solutions builds fast client-side WebAssembly tools, focused startup MVPs, and legacy Delphi or Pascal system modernisations. * [NoFuss Solutions Home](https://nofuss.co.za/) * [WebAssembly & Browser Performance Consulting](https://nofuss.co.za/webassembly-performance-consulting/) * [Startup MVP Development](https://nofuss.co.za/startup-mvp-cape-town/) * [Legacy Delphi & Pascal Modernisation](https://nofuss.co.za/legacy-delphi-pascal-modernisation/) * [Engineering Case Studies](https://nofuss.co.za/case-studies/) * [Contact NoFuss Solutions](https://nofuss.co.za/contact/) ### Sibling Tools & Ecosystem * [WasmPascal](https://wasmpascal.com/): In-browser Pascal to WebAssembly compiler and IDE written in Odin. * [BinStacker](https://nofuss.co.za/tools/binstacker/): Browser 3D bin packing and 20ft container cargo optimizer in Go and WebAssembly. * [DrawDown](https://nofuss.co.za/tools/drawdown/): South African living annuity simulator running locally in WebAssembly. * [SellOff](https://nofuss.co.za/tools/selloff/): South African share sale CGT illustrator in WebAssembly. * [Paletteer](https://nofuss.co.za/tools/paletteer/): Client-side CIELAB image colour palette extractor in WebAssembly. * [All Browser Tools](https://nofuss.co.za/tools/) * [Interactive Toys & Demos](https://nofuss.co.za/toys/) ## Legal Notice Java is a trademark or registered trademark of Oracle Corporation. WasmCoffee is an independent clean-room compiler for code written with Java-inspired syntax and is not affiliated with or endorsed by Oracle Corporation.