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
- Baseten's Guide: Evaluate Open Models for Coding Agents on Your Own PRs — baseten · 2026-11-16
- Google Research open-sources PaperOrchestra, a multi-agent framework for writing AI papers — google-research · 2026-11-16
- ffmpeg-skill gives coding agents local video editing via 42 FFmpeg tools and MCP — kajisho5 · 2026-11-16
- Agents Now Reply to Slack Messages on Their Own, Resolving a Prod Incident Ghost-to-Ghost — iamrobotbear · 2026-11-16
- Engineer's Interview Prep Method: Use Claude to Find Which Answers Undersell Your AI Work — brandon_galang · 2026-11-16
- DeepSeek open-sources its app frontend "chat-demo", already at 3.9k stars — NielsRogge · 2026-11-16