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
How (and why) we rewrote our production C++ frontend infrastructure in Rust
NearlyFreeSpeech.NET rewrote their production C++ frontend infrastructure (nfsncore) in Rust, a critical system that handles routing, caching, and access control for all incoming requests. The migration was motivated by Rust's safety guarantees, performance, ecosystem strength, and the aging C++ codebase's limitations.
Port React Compiler to Rust
An initiative to port the React Compiler to Rust, aiming to improve performance and integration with the Rust ecosystem.
A line-by-line translation of the OCaml runtime from C to Rust
The project details a line-by-line translation of the OCaml runtime from C to Rust, aiming to improve safety and performance.
Migrating from Go to Rust
A comprehensive guide for Go developers migrating to Rust, focusing on backend services, comparing tradeoffs in correctness, runtime, and ergonomics, with practical advice on incremental migration.
Memory safety CVEs differ between Rust and C/C++
An analysis of how memory safety CVEs are reported differently in Rust vs C/C++, arguing that Rust's design reduces certain classes of vulnerabilities even when bugs exist.