Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are other big selling points of Rust, compared to GPU-specific languages.

One is an expressive type system with algebraic types and generics. It's a lot easier to produce versions of code optimized for a certain use case. Only CUDA comes close.

This brings us to the ecosystem. Outside of CUDA, how many libraries exist that can easily be used from a shader context?

Rustc has great error messages. I don't know others, but errors in OpenGL shaders make me want to flip tables.

And being able to run the same code on the CPU is valuable as well, leading to simpler testing and debugging.

So unless you like CUDA and its problems, then this is rather attractive.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: