Coi - WebAssembly for the Modern Web
29 points by jturner
29 points by jturner
…isn’t WebAssembly WebAssembly for the modern web
Would be quite interesting to see comparison with SolidJS and Dioxus
Agreed. If the bundle sizes are indeed small enough to be generally useful, this could be very interesting indeed.
The hackernews article on this has comments from the author. My understanding is it is a "custom webassembly stack" where commands are queued in the host language before being exchanged with HTML / DOM (reducing call overhead) with a bundle-size optimised STL implementation. I am not sure if the commands referred to are at function / api call level or specialized for the DOM calls
This is very similar to Mint[1], which has been in development for a while now, and is converging to a stable (1.0) release (as per their readme.) Mint lacks static types though, so happy to see Coi as a type safe alternative in the space.
For those who might be interested I just created a tree-sitter grammar and Zed extension for Coi.
tl;dr A frontend framework + language that compiles to wasm, I think
Could you at least post direct GitHub link instead of unfinished and broken landing page? “Getting Started” shows up message about being WIP (without any content whatsoever), and the GitHub button below is dysfunctional, you have to use redirect in the navbar instead