
Writing High-Performance Applications in Rust: Profiling, Benchmarking, and Optimization (Modern Systems Programming with Rust)
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Unlock the true speed of Rust.
Rust guarantees memory safety and concurrency without data races, but the compiler alone cannot make your application fast. To achieve C-level performance, you must look beyond zero-cost abstractions and understand how your code interacts with the physical hardware.
Writing High-Performance Applications in Rust is the definitive guide for intermediate and advanced developers ready to bridge the gap between high-level syntax and low-level silicon. This book provides a rigorous, data-driven approach to performance engineering, equipping you with the skills to measure, analyze, and optimize your systems to their absolute limits.
Inside, you will discover:
- Hardware Fundamentals: Understand CPU pipelines, branch prediction, out-of-order execution, and the unforgiving latency of the memory hierarchy.
- Measurement and Tooling: Master the scientific method of performance using Criterion for micro-benchmarking, flamegraphs for CPU profiling, and hardware performance counters to expose silicon-level bottlenecks.
- Sequential Core Optimization: Restructure your data for cache efficiency, eradicate dynamic heap allocations using arenas and object pools, and minimize the hidden overhead of Rust abstractions.
- Concurrency and Async at Scale: Navigate the physical costs of multithreading, eliminate lock contention, utilize cross-platform SIMD instructions, and tune the Tokio asynchronous runtime for massive network throughput.
- Advanced Compiler Tuning: Push beyond source code by configuring Link-Time Optimization, Profile-Guided Optimization, and target CPU instructions to reshape your final binary executable.
Stop guessing why your code is slow. Learn to build deep mechanical sympathy with the machine. Whether you are developing high-throughput data pipelines, real-time scientific simulations, or highly concurrent microservices, this book will transform you from a Rust programmer into a master systems engineer.
Maximize your throughput, minimize your latency, and forge software that operates at the speed of electricity.
More details
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.