Performance of Rust Language [pdf]
The article discusses the performance of the Rust programming language in comparison to C++. It highlights the trade-offs between safety and performance in Rust, identifying both its weak and strong points. The content includes benchmarks and best practices for optimizing Rust code.
- ▪Rust is a safe, low-level system programming language that competes with C++.
- ▪The article identifies performance weak spots and strong points of Rust in practice.
- ▪It includes benchmarks and proposes performance best practices for Rust.
Opening excerpt (first ~120 words) tap to expand
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 LinkedIn Reddit
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.