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
- C*: a proof-integrated C language unifying programming and verification — jedisct1 · 2026-09-09
- Claude Code desktop app adds custom output styles for formatting Claude's replies — lydiahallie · 2026-09-09
- ARC's Greg Kamradt: AGI gains must come from self-built tools, not one-shot ability — GregKamradt · 2026-09-09
- Best-crafted coding agent GUIs: Codex abroad, ZCode in China — vista8 · 2026-09-09
- dbreunig builds an audio wave brush for kool-brushez and shares the repo — dbreunig · 2026-09-09
- Greg Kamradt: AGI's 'general' means doing what it wasn't trained for, via self-built tools — GregKamradt · 2026-09-09