Manuel Drehwald - Automatic differentiation of Rust, with the friendly help of your compiler
Recording of a talk given at the Scientific Computing in Rust 2023 online workshop.
Calculating gradients is necessary for various algorithms such as back propagation, Bayesian inference, uncertainty quantification, and probabilistic programming. Enzyme is a tool that can automatically compute gradients and was accepted for experimental (nightly) integration into the Rust compiler. We demonstrate how rust-enzyme can be used, present the next development steps, and discuss Rust specific challenges for automatic differentiation.