Rust In Practice, Third Edition

AvRick Tim

E-bok
Engelska, 2026

289 kr

Läs direkt i Bokus Reader – eller ladda ned till din enhet

Fler format och utgåvor

Beskrivning

Whether you're just starting out or a fully-fledged Rust pro, this third Edition is a goldmine of knowledge about Rust. This book has been updated with Rust 1.85 and Rust 2024 Edition, and it takes you on a really structured learning path to write production-grade systems, async services, GPU compute kernels, Linux kernel modules, and Go-integrated libraries.The book is built around a single, progressive application, and every chapter adds a functional layer to a real Linux system-metrics tool. The knowledge you gain from this book, is working and evolving codes that you can study, extend, and own. You'll get the hang of ownership and borrowing, handle the borrow checker, build concurrent and async programs with Tokio, manage memory without a garbage collector, and use Rust in domains that were once reserved exclusively for C and C++. Whatever stage you're at, whether you're just starting out and writing your first function or you're a seasoned engineer migrating a critical service to Rust, this strong practically focussed book has got you covered. Key LearningsDive in-depth into ownership model and eliminate memory bugs at compile time.Build async, concurrent programs using Tokio without data races or deadlocks.Design production-grade error types with 'thiserror' and 'anyhow' crates.Write GPU compute kernels and monitor GPU metrics.Integrate Rust libraries into existing Go applications via application binary interfaces.Write a loadable Linux kernel module entirely.Manage heap memory using Box, Rc, Arc, and smart pointer types.Leverage Rust 2024 Edition's new safety rules and migration workflow.Make use of Cargo workspaces, features, and optional dependencies to structure projects. Table of ContentWhy Rust in 2025?Setting up Rust 1.85 Development EnvironmentCore Language EssentialsStructs and Data ModelingEnums, Pattern Matching, and Error HandlingOwnership, Borrowing, Lifetimes, and Raw PointersPackages, Crates, and Full Command SuiteRust Standard LibrarySmart Pointers and Memory ManagementConcurrency, Parallelism, and Async ProgrammingRust 2024 EditionRust for GPU and CUDA ProgrammingRust for Go DevelopersRust for Linux Kernel

Produktinformation

Hoppa över listan

Du kanske också är intresserad av

Kristin Hannah - Näktergalen, Pocket
  • 4 för 3

Näktergalen

Kristin Hannah

Pocket, 2023

4,6 utav 5 stjärnor. Totalt antal röster:(69)

99 kr

Malin Nordström - Kalla mig syster, Pocket
  • -30%
Del 1

Kalla mig syster

Malin Nordström

Pocket, 2026

4,3 utav 5 stjärnor. Totalt antal röster:(4)

69 kr99 kr

Tone Schunnesson - Ultravåld, Inbunden
  • -19%

Ultravåld

Tone Schunnesson

Inbunden, 2026

4,1 utav 5 stjärnor. Totalt antal röster:(22)

209 kr259 kr

Jens Ganman - Skjut Gräv Tig, Häftad
  • -17%
Del 2

Skjut Gräv Tig

Jens Ganman

Häftad, 2026

4,8 utav 5 stjärnor. Totalt antal röster:(228)

189 kr229 kr