Idiomatic Rust: Code Like a Rustacean

Tips, tricks, design patterns, and secret features of Rust that will help you build stable and maintainable...
BD$120.14 BMD
BD$120.14 BMD
SKU: 9781633437463
Product Type: Books
Please hurry! Only 90 left in stock
Author: Brenden Matthews
Format: Paperback
Language: English
Subtotal: BD$120.14
10 customers are viewing this product
Idiomatic Rust: Code Like a Rustacean by Matthews, Brenden

Idiomatic Rust: Code Like a Rustacean

BD$120.14

Idiomatic Rust: Code Like a Rustacean

BD$120.14
Author: Brenden Matthews
Format: Paperback
Language: English
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.

Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications

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

Author: Brenden Matthews
Publisher: Manning Publications
Published: 10/08/2024
Pages: 256
Binding Type: Paperback
Weight: 1.00lbs
Size: 9.20h x 7.30w x 0.60d
ISBN: 9781633437463

Returns Policy

You may return most new, unopened items within 30 days of delivery for a full refund. We'll also pay the return shipping costs if the return is a result of our error (you received an incorrect or defective item, etc.).

You should expect to receive your refund within four weeks of giving your package to the return shipper, however, in many cases you will receive a refund more quickly. This time period includes the transit time for us to receive your return from the shipper (5 to 10 business days), the time it takes us to process your return once we receive it (3 to 5 business days), and the time it takes your bank to process our refund request (5 to 10 business days).

If you need to return an item, simply login to your account, view the order using the "Complete Orders" link under the My Account menu and click the Return Item(s) button. We'll notify you via e-mail of your refund once we've received and processed the returned item.

Shipping

We can ship to virtually any address in the world. Note that there are restrictions on some products, and some products cannot be shipped to international destinations.

When you place an order, we will estimate shipping and delivery dates for you based on the availability of your items and the shipping options you choose. Depending on the shipping provider you choose, shipping date estimates may appear on the shipping quotes page.

Please also note that the shipping rates for many items we sell are weight-based. The weight of any such item can be found on its detail page. To reflect the policies of the shipping companies we use, all weights will be rounded up to the next full pound.

Related Products

Recently Viewed Products