Idiomatic Rust

  • ناشرManning
  • سال انتشار2024
  • ویرایش1
  • زبانEnglish
  • تعداد صفحات257
  • شابک9781633437463

شناسه محصول: SKY-RST-CODE-A5407 دسته: , ,
برند: Manning

محدوده قیمت: 661,000 تومان تا 1,606,000 تومان

11 نفر در حال مشاهده این محصول هستند!

تحویل اکسپرس

حمل رایگان سفارشات بالای 1 میلیون تومان

پرداخت امن

امکان پرداخت انلاین یا پرداخت حضروی درب منزل

ضمانت اصالت کالا

امکان پرداخت انلاین یا پرداخت حضروی درب منزل

7 روز گارانتی بازگشت وجه

امکان پرداخت انلاین یا پرداخت حضروی درب منزل

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.

Table of Contents

PART 1- Building blocks

1- Rust-y patterns

2- Rust’s basic building blocks

3- Code flow

PART 2- Core patterns

4- Introductory patterns

5- Design patterns: Beyond the basics

6- Designing a library

PART 3- Advanced patterns

7- Using traits, generics, and structs for specialized tasks

8- State machines, coroutines, macros, and preludes

PART 4- Problem avoidance

9- Immutability

10- Antipatterns

About the Author

Brenden Matthews is a software engineer, entrepreneur, and a prolific open source contributor. He has been using Rust since the early days of the language, and has contributed to a number of Rust tools and OS projects.

ناشرManning
ویرایش1
زبانEnglish
سال انتشار2024
شابک9781633437463
تعداد صفحات257
قطعB5
کیفیتاورجینال انتشارات
نوع چاپرنگی, سیاه و سفید
نوع جلدجلد سخت, شومیز, طلقی

نقد و بررسی‌ها

هنوز بررسی‌ای ثبت نشده است.

اولین کسی باشید که دیدگاهی می نویسد “Idiomatic Rust”

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

محدوده قیمت: 661,000 تومان تا 1,606,000 تومان

محصولات مشابه