Professional Rust Programming: Performance Optimization, Unsafe Code, and Systems-Level Design

Rust Programming for Practical Software Development, #3

Cover of Professional Rust Programming: Performance Optimization, Unsafe Code, and Systems-Level Design

EPUB · English

Price and availability

EPUB eBookUS store

$8.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Distributed via Draft2Digital
ISBN
9798224147175
Subjects
Computer programming / software development, Programming & scripting languages: general, Software Engineering, Computer programming / software engineering, Programming and scripting languages: general, Software Engineering

About this book

Go beyond the borrow checker and master the art of systems-level engineering in Rust.You understand the fundamentals of the language. You are comfortable with lifetimes, traits, and the safety guarantees that make Rust unique. But to build production-grade systems software, real-time analytics engines, database internals, or embedded firmware, you must look past the abstractions and understand the machine underneath.Professional Rust Programming is the bridge between writing code that compiles and writing code that performs.This book is not an introduction to syntax. It is a deep dive into the mechanics of memory, the rigorous discipline of unsafe code, and the architectural patterns required to squeeze every ounce of throughput from modern hardware. Through empirical analysis and real-world case studies, you will learn to treat the compiler not as a safety net, but as a tool for precise code generation.Inside, you will master:Memory Layout Optimization: Control padding, alignment, and cache locality to eliminate bottlenecks before they happen.The Unsafe Foundation: Write robust abstractions using raw pointers and manual memory management without compromising system stability.Lock-Free Concurrency: Build high-performance primitives like atomic queues and skip lists, understanding memory ordering and hazard pointers.Async Internals: Deconstruct the async/await state machine, pin futures, and build a custom runtime from scratch using io_uring.Zero-Copy and FFI: Master the Foreign Function Interface to integrate with C libraries and the OS kernel without allocation overhead.Bare-Metal Programming: Navigate no_std environments for embedded development and operating system kernels.Real-World ApplicationThe book concludes with four comprehensive case studies, including the design of a high-performance edge proxy and a custom memory allocator, demonstrating how these advanced concepts integrate into cohesive, resilient architectures.Stop viewing high performance and memory safety as a binary choice. Learn to engineer zero-cost abstractions that are mathematically safe for users and mechanically optimal for hardware.Professional Rust Programming is your guide to the deep end of the stack.

Bibliographic data © Gardners Books Ltd.