Search Results

Idiomatic Rust

Download or Read eBook Idiomatic Rust PDF written by Brenden Matthews and published by Simon and Schuster. This book was released on 2024-09-24 with total page 413 pages. Available in PDF, EPUB and Kindle.
Idiomatic Rust
Author :
Publisher : Simon and Schuster
Total Pages : 413
Release :
ISBN-10 : 9781638355724
ISBN-13 : 163835572X
Rating : 4/5 (24 Downloads)

Book Synopsis Idiomatic Rust by : Brenden Matthews

Book excerpt: Tips, tricks, design patterns, and secret features of Rust that will help you build stable and maintainable applications. Whether you’re a Rust beginner or a pro, Idiomatic Rust will teach you to be a better Rust programmer. It introduces essential design patterns for Rust software with detailed explanations, and code samples that encourage you to get stuck in. In Idiomatic Rust you’ll learn how to apply important design patterns including: • Fluent interfaces for creating delightful APIs • The Builder pattern to encapsulate data and perform initialization • Immutable data structures that help you avoid hard-to-debug data race conditions • Functional programming patterns • Anti-patterns and what not to do in Rust Idiomatic Rust catalogs, documents, and describes both how classic design patterns work with Rust, and the new Rust-specific patterns that will help you master the language. Each pattern or best practice helps solve common programming problems and ensure your code is easy for others to understand. You’ll learn when to use each pattern—and when to break it! You’ll soon be producing higher-quality Rust code and higher-quality Rust software. About the technology After you’re comfortable with Rust’s syntax and its uniquely-powerful compiler, there’s a whole new dimension to explore as you put it to use in real projects. How do you apply standard design patterns in Rust applications? Where and why should you use IntoIterator? Why do Rustaceans love the PhantomData type? This book answers these questions and many, many more. About the book Idiomatic Rust introduces the coding and design patterns you’ll need to take advantage of Rust’s unique language design. This book’s clear explanations and reusable code examples help you explore metaprogramming, build your own libraries, create fluent interfaces, and more. Along the way, you’ll learn how to write efficient, idiomatic Rust code that’s easy to maintain and evolve as you learn how the language works under the hood. What's inside • Creating delightful APIs • Applying Builder and other classic design patterns • Functional programming patterns • Rust anti-patterns About the reader For intermediate Rust programmers. About the author Brenden Matthews is a member of the Apache Software Foundation, creator of the system monitor Conky, and author of Code Like a Pro in Rust. The technical editor on this book was Alain M Couniot. Table of Contents PART 1 1 Rust-y patterns 2 Rust’s basic building blocks 3 Code flow PART 2 4 Introductory patterns 5 Design patterns: Beyond the basics 6 Designing a library PART 3 7 Using traits, generics, and structs for specialized tasks 8 State machines, coroutines, macros, and preludes PART 4 9 Immutability 10 Antipatterns A Installing Rust


Idiomatic Rust Related Books

Idiomatic Rust
Language: en
Pages: 413
Authors: Brenden Matthews
Categories: Computers
Type: BOOK - Published: 2024-09-24 - Publisher: Simon and Schuster

DOWNLOAD EBOOK

Tips, tricks, design patterns, and secret features of Rust that will help you build stable and maintainable applications. Whether you’re a Rust beginner or a
Rust for Rustaceans
Language: en
Pages: 282
Authors: Jon Gjengset
Categories: Computers
Type: BOOK - Published: 2021-12-21 - Publisher: No Starch Press

DOWNLOAD EBOOK

Master professional-level coding in Rust. For developers who’ve mastered the basics, this book is the next step on your way to professional-level programming
The Rust Programming Language (Covers Rust 2018)
Language: en
Pages: 561
Authors: Steve Klabnik
Categories: Computers
Type: BOOK - Published: 2019-09-03 - Publisher: No Starch Press

DOWNLOAD EBOOK

The official book on the Rust programming language, written by the Rust development team at the Mozilla Foundation, fully updated for Rust 2018. The Rust Progra
Command-Line Rust
Language: en
Pages: 389
Authors: Ken Youens-Clark
Categories: Computers
Type: BOOK - Published: 2022-01-13 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

Updated in 2024: A new version has been released that simplifies the programs used in the book, based on changes in the Rust language and crates since original
Programming Rust
Language: en
Pages: 646
Authors: Jim Blandy
Categories: Computers
Type: BOOK - Published: 2017-11-21 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

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 moder
Scroll to top