Designing an Autograd System with Rust - First Steps
Why do it? Well, there is certainly a gap in the ecosystem currently and at least some people are interested.
In theory, Rust can do whatever C/C++ does given enough effort. Since most of Pytorch/Tensorflow is C++/CUDA, at least the C++ part should be doable.
Also, I’m too naive to not try it, but as alluded in a previous post I’m aware that it might not be so easy to follow Rust’s ownership and borrowing rules while providing similar ergonomics as Pytorch.
[Read More]