logoalt Hacker News

pjmlptoday at 7:29 PM1 replyview on HN

They serve different public, Slag folks are more interested in graphics programming not AI algorithms.

Also shading languages are more user friendly given their features.

Finally NVida already has Slang in production and those folks aren't going to rewrite shader pipelines into Rust.


Replies

mohamedkoubaatoday at 8:09 PM

I am working on a graphics library that integrates slang into rust: https://github.com/koubaa/goldy

There's library code in rust that manages GPU memory and schedules pipelines and use a slang reflection to ensure memory layouts between rust and shaders match.

Oh and it supports metal/vulkan/dx12