logoalt Hacker News

erk__today at 5:42 PM2 repliesview on HN

There is actually work on adding autodiff to Rust, maybe not really first class citizen, but at least build in: https://doc.rust-lang.org/std/autodiff/index.html (it is still at a pre-RFC stage so it is not something that soon will be added)


Replies

magniotoday at 5:54 PM

Incredible, I have never heard of std::autodiff before. Isn't it rare for a programming language to provide AD within the standard library? Even Julia doesn't have it built-in, I wouldn't expect Rust out of all languages to experiment it in std.

show 2 replies
rowanG077today at 6:37 PM

That's awesome, I didn't know that!