Coi – A language that compiles to WASM, beats React/Vue
Show HN: Coi – A language that compiles to WASM, beats React/Vue
Based, Coi – A language that compiles to WASM, beats React/Vue works in show hn launch.
Profile
I usually build web games in C++, but using Emscripten always felt like overkill for what I was doing. I don't need full POSIX emulation or a massive standard library just to render some stuff to a canvas and handle basic UI.The main thing I wanted to solve was the JS/WASM interop bottleneck. Instead of using the standard glue code for every call, I moved everything to a Shared Memory architecture using Command and Event buffers.The way it works is that I batch all the instructions in WASM and then just send a single "flush" signal to JS. The JS side then reads everything directly out of Shared Memory in one go. It’s way more efficient, I ran a benchmark rendering 10k rectangles on a canvas
Within the show hn launch space, the company focuses on its core offering rather than a broad product line.
It is recorded at the Show HN launch stage.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: io-eric.github.io/coiCoi
Browse related
Create a free account