|
|
|
|
|
by einpoklum
1197 days ago
|
|
> since the underlying API's are still C/C++, If the use of GPUs is via CUDA, there are my wrappers [1] which are RAII/CADRe, and therefore less unsafe. And on the Rust side - don't you need a bunch of unsafe code in the library enabling GPU support? [1] : https://github.com/eyalroz/cuda-api-wrappers/ |
|
There is lots of "bad" unsafe code that is much worse, and over time, they will have just as much trouble trying to handle this overall as C++ does.
(and no the ability to say you don't want unsafe transitive crates doesn't fix anything)