Got a lot of attention for this (thank you!), but also there're some criticisms and questions:
1) it's a stupid idea
Maybe. Again, this is experimental and not meant to be used in production or as a replacement for anything. It is to explore new possibilities.
2) it's
I trained a small model to do syntax highlighting in the browser with GPU.
Meet gpu-lexer from Vercel Labs: Small (27.5KB), fast (runs on WebGPU), and language-agnostic (model guesses the syntax).
gpu-lexer.vercel.app
It is experimental and built for learning!


