Lovable rewrites Vite dev server in Rust: 2x faster cold starts, 4x less memory; Evan You responds
cnakazawa · x · 2026-09-16
- Lovable engineer Fabian Hedin released oj, a Rust rewrite of the Vite dev server that drops Node.js: 4x better memory usage and 2x faster cold starts.
- Result: sandbox acquisition time in Lovable dropped from 14s to 3s (4.6x improvement).
- oj is a Rust-native build tool for React apps, optimized for memory and cold start in CI, agents, and multi-tenant scenarios; it supports SSR with streaming via renderToReadableStream while keeping HMR and Fast Refresh.
- Vite author Evan You responded: oj isn't a full rewrite — it builds on VoidZero's Rolldown/Oxc with only the dev server parts in Rust; hyper-customization pays off but doesn't cover the full range of Vite usage; the blog's benchmark is somewhat misleading since Vite's cold-start numbers include significant overhead.
More from coding & agent
- ProgramAsWeights compiles English descriptions into tiny CPU-runnable neural programs — yuntiandeng · 2026-09-16
- 35 external agents joined an open agent network; only 3 ever came back — anp2_protocol · 2026-09-16
- Developer shares collection of 200 MCP tools after GitHub HQ MCP Community Connect event — baditaflorin · 2026-09-16
- Devin just got a Mac: autonomous iOS builds with simulator, Slack demos and TestFlight links — nwilliams030 · 2026-09-16
- Harrison Chase says multiplayer auth is the hardest part of enterprise AI agents — hwchase17 · 2026-09-16
- Workshop 0.2.0 ships a 'Realization Architecture' kernel for AI work systems — TinfoilTricorn · 2026-09-16