A compiled, reactive web language targeting WebAssembly Garbage Collection (Wasm-GC) with zero Virtual DOM, sub-millisecond mounting, and micro-footprint binaries. - bshea-1/volt
3 comments
Under the hood, the compiler analyzes signal dependencies ahead of time and translates state updates into bitmask dispatch tables rather than relying on runtime tree diffing. Every signal maps to a native Wasm-GC struct field, and state mutations evaluate dirty bitmasks to trigger surgical, direct host DOM updates via function reference tables. Because there is no Virtual DOM or bundled framework core, standard interactive components compile down to roughly 1.1 KB uncompressed, the entire loader is under 1.5 KB, and streaming bytecode mounts in under 1.5 milliseconds.
The compiler is written in Rust, emits companion TypeScript declaration files for typed JavaScript interop via extern blocks, and is licensed under MIT. You can test an interactive 3D force-directed graph demo compiled with Volt live in your browser at https://voltdemo.vercel.app/. I would love your thoughts on the AOT bitmask reactivity model and where you would like to see the language specification go next.
Read the full thread on Hacker News →
Related stories
- Show HN: NetWasm – Independent .NET Compiler/Runtime (82.5 KB Hello World in C#)playground.netwasm.comHacker News · 5 points · 1 day ago
- Lobsters · 10 points · over 8 years ago
- Hacker News · 1 points · 8 days ago
- Hacker News · 1 points · 7 days ago
- Hacker News · 73 points · 9 days ago
- Hacker News · 1 points · 9 days ago