Live data from Hacker News

Ask HN: C++ still dominates on GPUs, why not Rust?

news.ycombinator.com

1–4 of 4 posts

Re: Ask HN: C++ still dominates on GPUs, why not Rust?

#2
>> Why is this? Why Rust is not loved there?

History and demand.

CUDA is about 15 years old. MPI and similar parallel computing APIs are even older.

C, C++, and Fortran have been the "goto" programming languages for parallel and scientific computing for decades.

Rust is a relative newcomer that does not have enough demand yet to mandate CUDA APIs. It probably will some day.

Another concern is the number of decades-mature libraries that are used in parallel computing domains. It seems much more likely that any Rust support will initially be Rust wrappers around C or C++ APIs rather than native Rust implementations.

Some projects for Rust on CUDA are in progress:

https://github.com/Rust-GPU/Rust-CUDA

https://github.com/bheisler/RustaCUDA