gpu-lexer author: trained on 50+ languages, model is ~70% of the 27.5KB bundle
shuding · x · 2026-09-08
gpu-lexer author Shu Ding shared more details: the model was trained on 50+ languages, behaves reasonably on languages outside the training set, and the model itself makes up roughly 70% of the library, inlined into the bundle.
Performance benefits come from WebGPU—especially on large sources—and it doesn't block the main thread. He cautions that highlighters have different pipelines and this project can't yet fully replace any of them.
More from coding & agent
- 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
- He benchmarks new models by having them build their own copilot — $28 of compute — bucolucas · 2026-10-27