Vercel Labs' gpu-lexer: a 27.5KB model does GPU-powered syntax highlighting in browser
shadcn · x · 2026-09-09
Vercel's shuding released gpu-lexer, an experimental project that trains a small model to do syntax highlighting in the browser via WebGPU. It is only 27.5KB, runs on WebGPU, and is language-agnostic (the model guesses the syntax rather than relying on rules). shadcn shared it with amazement. Built for learning purposes.
More from coding & agent
- Microsoft Foundry Autopilots: agents with their own Entra identity and M365 account — marlene_zw · 2026-10-27
- OpenAI DevDay Berlin: Codex weekly active users up 20x since January — reach_vb · 2026-10-27
- He benchmarks new models by having them build their own copilot — $28 of compute — bucolucas · 2026-10-27
- Founder generates 46 app promo videos in 4 days with Claude, skipping $11,500 in UGC fees — PrajwalTomar_ · 2026-10-27
- Should agents be allowed to change plans mid-task? Reddit debates the drift boundary — wistfulcracker84 · 2026-10-27
- HeyGen + Canva MCP turns slide speaker notes into an avatar presentation video — HeyGen · 2026-10-27