Cantitate/Preț
Produs

Rust for Rustaceans: Idiomatic Programming for Experienced Developers

Autor Jon Gjengset
en Limba Engleză Paperback – 23 dec 2021

În dezvoltarea software modernă, trecerea de la sintaxa de bază la scrierea de cod idiomatic reprezintă cel mai mare obstacol. Rust for Rustaceans de Jon Gjengset atacă direct această problemă, concentrându-se pe tehnologii esențiale precum structura tipurilor (type layout), coerența trăsăturilor (trait coherence) și programarea asincronă la nivel de profunzime, de la tipurile Pin și Waker până la utilizarea curentă a async/await. Remarcăm abordarea tehnică a autorului, care nu se limitează la teorie, ci disecă modul în care funcționează memoria și execuția concurentă în scenarii reale.

Un aspect distinctiv al volumului publicat de No Starch Press este explorarea lumii no_std, esențială pentru programarea sistemelor embedded unde resursele sunt limitate. Cititorul care a aplicat deja principiile de gestiune a memoriei și tiparele de design din Code Like a Pro in Rust de Brenden Matthews va găsi aici completarea necesară pentru a stăpâni macro-urile procedurale și siguranța obiectelor (object safety). Spre deosebire de ghidurile introductive, această lucrare analizează riguros ce înseamnă „unsafe code” și care sunt bunele practici pentru a interacționa cu funcții și trăsături nesigure fără a compromite stabilitatea întregului sistem.

Structura este densă, axată pe eficiență, oferind îndrumări de expert în designul de API-uri ergonomice care să se integreze natural în ecosistemul Cargo. Reținem capitolele dedicate interfețelor de funcții străine (FFI), care permit programatorului să extindă biblioteci scrise în alte limbaje, transformând Rust într-o punte între performanța brută și siguranța modernă a tipurilor.

Citește tot Restrânge

Preț: 22152 lei

Preț vechi: 35050 lei
-37%

Puncte Express: 332

Carte disponibilă

Livrare economică 22 mai-02 iunie
Livrare express 06-12 mai pentru 8132 lei


Specificații

ISBN-13: 9781718501850
ISBN-10: 1718501854
Pagini: 264
Dimensiuni: 178 x 235 x 18 mm
Greutate: 0.56 kg
Editura: Penguin Random House Group
Colecția No Starch Press
Locul publicării:United States

De ce să citești această carte

Recomandăm această carte programatorilor care doresc să facă pasul de la utilizator de Rust la arhitect de sisteme. Veți câștiga o înțelegere profundă a mecanismelor interne ale limbajului, învățând să scrieți cod performant, sigur și ușor de întreținut în proiecte de mare anvergură. Este resursa ideală pentru cei care vor să stăpânească conceptele avansate de asincronicitate și metaprogramare.


Descriere

For developers who've mastered the basics, this book is the next step on your way to professional-level programming in Rust. It covers everything you need to build and maintain larger code bases, write powerful and flexible applications and libraries, and confidently expand the scope and complexity of your projects. Author Jon Gjengset takes you deep into the Rust programming language, dissecting core topics like ownership, traits, concurrency, and unsafe code. You'll explore key concepts like type layout and trait coherence, delve into the inner workings of concurrent programming and asynchrony with async/await, and take a tour of the world of no_std programming. Gjengset also provides expert guidance on API design, testing strategies, and error handling, and will help develop your understanding of foreign function interfaces, object safety, procedural macros, and much more. You'll Learn: How to design reliable, idiomatic, and ergonomic Rust programs based on best principles; Effective use of declarative and procedural macros, and the difference between them; How asynchrony works in Rust all the way from the Pin and Waker types used in manual implementations of Futures, to how async/await saves you from thinking about most of those words; What it means for code to be unsafe, and best practices for writing and interacting with unsafe functions and traits; How to organize and configure more complex Rust projects so that they integrate nicely with the rest of the ecosystem; How to write Rust code that can interoperate with non-Rust libraries and systems, or run in constrained and embedded environments. Brimming with practical, pragmatic insights that you can immediately apply, Rust for Rustaceans helps you do more with Rust, while also teaching you its underlying mechanisms.