zero-js: A C-like language compiling to plain HTML/CSS with zero JavaScript
shuding · x · 2026-09-27
Vercel engineer shuding released zero-js, a C-like language that compiles to plain HTML and CSS — every program runs with zero bytes of JavaScript.
- It exploits the Turing completeness of HTML/CSS. Inputs come from page-interaction "circuits" like sliders, clicks, key holds, and scroll position; the output reacts live, like shader code on an analog computer: no persistent state, just CSS math reacting to inputs.
- Examples include RSA, GCD, Fibonacci, FizzBuzz, bubble sort, and Mandelbrot, showing the language's expressiveness.
- The project continues his 11-year-old school project css-computer (CSS logic gates, full adder, 4-bit addition). Scroll-position hacks can persist state but remain rough.
Related event: Vercel engineer ships zero-js, a C-like language compiling to pure HTML/CSS(2 posts)→
More from coding & agent
- open-slide 2.0 ships: an agent-first slide framework with visual editor and editable pptx export — CurieuxExplorer · 2026-09-27
- Meta Muse praised for transparency: users can inspect all agent tool-call logs — CurieuxExplorer · 2026-09-27
- Microsoft's Foundry Agents, Toolbox and MCP session heads to Global AI Conference Chennai — lee_stott · 2026-09-27
- One prompt, a hike later: Rust PDF compressor matches ILovePDF, built autonomously by Claude — avt_im · 2026-09-27
- Two days of work six months ago, a few hours today: researcher benchmarks agentic coding's leap — avt_im · 2026-09-27
- GitHub Copilot CLI v1.0.89-5 Adds Claude Code Rules File Support — copilot-cli-release-app[bot] · 2026-09-27