Rust Performance Resources

A curated list of resources for optimizing code, with a focus on Rust. General Rust Specific The Rust Performance Book (great starting point for beginners and those new to Rust) How to avoid bounds checks in Rust (without unsafe!) Performance Cheat Sheets Latency Numbers Every Programmer Should Know Bit Twiddling Hacks Open Source Books Algorithms for Modern Hardware Performance Analysis and Tuning on Modern CPUs Memory Array of Structs vs. Struct of Arrays Data alignment for speed: myth or reality? Floats Taming Float Sums Tools and Libraries Profiling Samply Benchmarking Criterion.rs Divan Multithreading Rayon crossbeam SIMD Crates Portable SIMD API soa-rs SIMD-itertools Vectorized Solutions Parallel Prefix Sum with Simd Domain Specific Resources HFT When a Microsecond Is an Eternity: High Performance Trading Systems in C++ FFT Construction of a High-Performance FFT Mixed Data Layout Kernels for Vectorized Complex Arithmetic Notes on FFTs: for implementers Found this helpful? Have suggestions? Feel free to reach out on GitHub.

14 September 2024 · 1 min · 156 words · Saveliy Yusufov