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).
https://t.co/adphvt2Lv4
It is experimental and built for learning!
Need 32gb RAM and 16 threads?
Hetzner: $275/month to rent (€237.99)
GMKtec: $759 to own (often on sale for $700)
I know VPSs are overpriced and all but wtf? This is insane. Renting for 3 months is more expensive than buying outright.
V's new compiler went from passing 81% of tests to 100%!
All tests now pass, and every example compiles.
The new compiler will soon become the default on macOS, with other operating systems to follow.
The old compiler will remain available for one year via v -old-compiler.
@fluxdev3@yutongwu111140 and even if there isnt a specific "exit" at that branch, i wonder if, through dependency analysis, the compiler can detect that
adding to error vector -> eventually leads to early exit
is enough to move away the push to diagnostics to a branch, and favoring the forward path
@fluxdev3@yutongwu111140 my point wasnt "is there any performance difference when marking unlikely/what is the performance difference"
i was specifically asking if compilers know to treat the error branch as unlikely specifically because it leads to an early exit (in typical program behavior)