Course contents: https://numerical-rust-cpu-d1379d.pages.math.cnrs.fr/setup/get-ready.html
In this online training, organized over 3 days, you will learn how to write efficient numerical computations for CPU platforms in Rust, through a combination of theoretical explanations and practical work.
We will first get to know Rust by manually implementing a few simple computations (squaring numbers, dot product…), gradually introducing needed language features as we go. Then we’ll see how the underlying hardware can be used more efficiently through a combination of SIMD processing, instruction-level parallelism, and multi-threading.
Armed with this foundational knowledge, we will then scale the problem up to a more sophisticated numerical computation, the Gray-Scott reaction-diffusion model, which will introduce along the way. This will allow us to cover some of the more advanced performance optimization techniques that apply at this scale.
Target audience:
No prior knowledge of the Rust programming language or the Gray-Scott model (or computational chemistry in general) is required to follow this course. They will all be introduced during the lectures.
On the other hand, it is recommended to have at least basic knowledge of the following topics:
– C language concepts and syntax (number types and arithmetic, string literals, stack vs heap)
– Numerical computing (floating-point numbers, single- and multi-dimensional arrays)
– Linear algebra (vectors and matrices, dot product and matrix multiplication)
– Differential equations, numerical resolution via Euler and finite difference methods
IN BOTH VIDEOS (DAY2 – Part1 & Part2) : From Rust to Gray-Scott
Following our introduction to Rust numerical computing, we will scale up during the second day to a more complex numerical computing problem, the Gray-Scott reaction-diffusion model (which will be introduced along the way). This will allow us to introduce useful building blocks for real-world Rust numerical problems including command-line interfaces and HDF5 I/O.