Vercel Labs ships gpu-lexer: a 27.5KB WebGPU model for language-agnostic syntax highlighting

aidenybai · x · 2026-09-09

Vercel engineer shuding released gpu-lexer from Vercel Labs: a small trained model that does syntax highlighting in the browser on the GPU. It is 27.5KB, runs on WebGPU for speed, and is language-agnostic—the model guesses the syntax instead of relying on rule tables. It's experimental and built for learning, with code open-sourced.

Related event: Vercel open-sources gpu-lexer: a 27.5KB WebGPU model for syntax highlighting(7 posts)→

Original post →

More from coding & agent

coding & agent channel →