Performance of Rust language
Summary
This talk analyzes Rust's performance strengths and weaknesses compared to C++, providing benchmarks and best practices. Slides and reading materials are available.
View Cached Full Text
Cached at: 05/25/26, 09:12 PM
yugr/rust-slides
Source: https://github.com/yugr/rust-slides
Goal
Rust is defined as a safe, low-level, system programming language directly competing with C++.
How much does it pay for safety in terms of performance ? Can we expect similar performance on idiomatic code ?
In this talk we
- identify performance weak spots (and strong points) of Rust
- check how bad (or good) they are in practice
- propose countermeasures / performance best practices
Contents
- Slides: English and Russian
- Reading materials
- Various posts and papers which served as base for slides
- Rust performance features
- Pros and cons of language from performance standpoint
- Benchmarks
- Projects used for Rust benchmarking
- Script of the planned talk (outdated)
External links
The talk was delivered at C++Russia 2026 and also published on
Similar Articles
Rewriting in Rust
This article evaluates the 'Rewrite It In Rust' movement in 2026, discussing real-world performance gains, challenges like new bugs and platform support, and advocating for incremental rewriting over full rewrites.
How to speed up the Rust compiler in July 2026
Nicholas Nethercote reports recent performance improvements to the Rust compiler, including a 5.59% mean wall-time reduction overall, major rustdoc speedups totaling 28%, and significant Clippy optimizations via PRs and PGO training changes.
Implementing FMA and finding bugs in C and Rust standard libraries
The author implemented a vectorized FMA for Rust's fearless_simd library, leading to performance improvements and the discovery of bugs in Rust and musl libc standard libraries.
Just One Function, 10x Faster? Reading a Rust Performance PR
A deep-dive blog post walks through a Rust performance PR in GreptimeDB that makes Prometheus read conversion 10x faster, with benchmark reproduction and code analysis.
How do you rewrite C/C++ projects to Rust?
This article discusses strategies for migrating C/C++ projects to Rust, emphasizing incremental migration over full rewrites, with insights from Luca Palmieri and JetBrains.