Häftad, Engelska, 2017
Programming Rust
Av Jim Blandy, Jason Orenddorff
473 kr
Tillfälligt slut
Beskrivning
Rust is a new systems programming language that combines the performance and low-level control of C and C++ with memory safety and thread safety. Rust's modern, flexible types ensure your program is free of null pointer dereferences, double frees, dangling pointers, and similar bugs, all at compile time, without runtime overhead. In multi-threaded code, Rust catches data races at compile time, making concurrency much easier to use. Written by two experienced systems programmers, this book explains how Rust manages to bridge the gap between performance and safety, and how you can take advantage of it. Topics include: How Rust represents values in memory (with diagrams) Complete explanations of ownership, moves, borrows, and lifetimes Cargo, rustdoc, unit tests, and how to publish your code on crates.io, Rust's public package repository High-level features like generic code, closures, collections, and iterators that make Rust productive and flexible Concurrency in Rust: threads, mutexes, channels, and atomics, all much safer to use than in C or C++ Unsafe code, and how to preserve the integrity of ordinary code that uses it Extended examples illustrating how pieces of the language fit together
Produktinformation
- Utgivningsdatum: 2017-12-18
- Mått: 150 x 250 x 15 mm
- Vikt: 666 g
- Format: Häftad
- Språk: Engelska
- Förlag: O'Reilly Media
- ISBN: 9781491927281
Utforska kategorier
Betyg & recensioner
2 recensioner, genomsnitt 5/5
- 5/5 Jan D
Ingen bok är helt perfekt, men den här är väldigt bra för folk med tidigare programmeringsbakgrund i andra (mer traditionella) språk. Vissa koncept tar tid att förstå i Rust om man inte är van vid dem, och de koncepten förklaras så väl de kan i den här boken -- men i slutändan så kommer man att behöva sitta och exprimentera/misslyckas med kompilatorn för att förstå dem ordenligt.
Föredrar den här framför "The Rust Programming Language". - 5/5 Willy S