Blog
Insights and articles on Rust 🦀, AI and live tool development.
Filter by Topic
Showing 6 of 57 articles • Page 1 of 10
Instruction-Level Optimization: #[inline(always)]
Strategic application of Rust's #[inline(always)] attribute for instruction-level optimization, covering effective usage patterns and risks of overuse
Align data structures to cache lines
Designing cache-aligned data structures in multi-threaded Rust applications to prevent false sharing and optimize performance for large dataset processing
Mastering Inline Assembly in Rust: When and How to Optimize Safely
Low-level optimization in Rust, focusing on using inline assembly for performance-critical tasks
Understanding Rust Move Closures: A Guide for JavaScript Developers
Learn how Rust move closures work compared to JavaScript closures - ownership, threading, and when to use the move keyword
Profiling Rust: Tackling L1 Cache Misses with perf, Flamegraph, and Criterion
Low-level optimization in Rust, focusing on profiling tools to identify and fix performance bottlenecks like L1 cache misses
Boosting Rust Hot Loops: Slashing Branch Mispredictions
Low-level optimization in Rust, focusing on minimizing branch mispredictions in performance-critical loops