Vercel engineer builds a new syntax highlighter, benchmarks correctness against Shiki
shuding · x · 2026-09-08
Vercel engineer shuding explains why he built a new syntax highlighter: years of pain with 1) large language grammar bundles, 2) language detection and dynamic loading, 3) bad performance slowing down the main app.
He validates quality by comparing every span type against Shiki — the de facto gold standard using real ASTs — measuring weighted correctness across GitHub's top 25 languages.
More from coding & agent
- Jane Street's Yinsky shares tips for making codebases agent-friendly: types, property tests, formal methods — sh_reya · 2026-10-27
- Celesto launches CI runners nearly 90% cheaper than GitHub Actions, with agent sandboxes — aniketmaurya · 2026-10-27
- Runway launches App Studio: build no-code creative apps that generate image, video and audio — runwayml · 2026-10-27
- Supabase founders on rebuilding the backend for a billion AI-built apps — Latent Space · 2026-10-27
- Dev scans 5,000 MCP servers daily: 10% dead, 30% auth-gated, then ClaudeBot shows up — art2meta · 2026-10-27
- Solo dev ships national park sim with Claude in 6 months, Opus spawned 560 Haiku subagents to translate it — idun0 · 2026-10-27