logoalt Hacker News

jacobgormyesterday at 10:56 PM5 repliesview on HN

Nobody cares if kernels are written in Rust. Kernels were meant to be written in C, but if you want to go more high-level try Triton or a similar DSL that nicely abstract tile sizes etc.


Replies

keithnzyesterday at 11:27 PM

kernels aren't meant to be written by any defined language. C is just a traditionally good default language that took over from assembly. No particular reason we have to stick with C.

show 1 reply
pjmlptoday at 5:27 AM

That is exactly why OpenCL failed adoption, focusing on C, instead of being polyglot like CUDA.

show 1 reply
Anoiantoday at 7:56 AM

I have never seen a comment this gray

cpillyesterday at 11:18 PM

oh no no no, this is going to break the CPP hold on AI and game dev.

show 1 reply