Loading video player...
How does one write high-performance numerical computations in the Rust programming language? In this 1-day lecture at Gray Scott School 2025, Hadrien Grasland teaches techniques for achieving high CPU performance in Rust. Following the lecture schedule, the recording was cut in 4 parts: * Introduction, environment setup, basic language constructs : https://www.youtube.com/watch?v=xSwpzeyhP5g * Simple computations, from squaring to dot products (this video) * Gray-Scott introduction, SIMD optimizations : https://www.youtube.com/watch?v=DfJnR2-iGSY * Advanced optimizations, conclusion : https://www.youtube.com/watch?v=g4ubxEChjKk This second session covers Rust’s numerical computing features through the implementation of some simple computations: * Squaring an array of numbers * Hadamard product * Reductions (sums, dot product) To get there, the following Rust concepts are discussed: * Primitive number types and operations * Loops, iterators and array types * Lambdas, traits and higher-order functions * Microbenchmarking with criterion * Ownership and borrowing Practical work handouts are available at https://numerical-rust-cpu-81b2c3.pages.in2p3.fr/. _______________________________________________ 🌟 Join us for the Gray Scott School 2026! 🌟 Curious and want a sneak peek of what’s coming? Check out the videos from the 2025 edition on this channel and get inspired for Gray Scott School 2026! 👉 Explore the 2026 program and the agenda of the Gray Scott Thursdays here: https://cc-fr.eu/gray-scott-school-2026/ Don’t miss out — join us this year and dive into the world of high-performance computing with experts, peers, and the HPC community! 💡 Stay up to date with all announcements, webinars, and updates by following us on LinkedIn: https://www.linkedin.com/company/centre-cc-fr/?viewAsMember=true