0
نام کتاب
Refactoring to Rust

Lily Mara, Joel Holmes

Paperback304 Pages
PublisherManning
Edition1
LanguageEnglish
Year2025
ISBN9781617299018
210
A6192
انتخاب نوع چاپ:
جلد سخت
615,000ت
0
جلد نرم
535,000ت
0
طلق پاپکو و فنر
545,000ت
0
مجموع:
0تومان
کیفیت متن:اورجینال انتشارات
قطع:B5
رنگ صفحات:دارای متن و کادر رنگی
پشتیبانی در روزهای تعطیل!
ارسال به سراسر کشور

#Refactoring

#Rust

#HTTP

#WebAssembly

توضیحات

بازنویسی تدریجی برای افزایش سرعت و مقیاس‌پذیری نرم‌افزار: استفاده از Rust بدون بازنویسی کامل کد


کتاب Refactoring to Rust به شما می‌آموزد چگونه بدون نیاز به بازنویسی کامل، بخش‌های حساس و بحرانی از نظر عملکرد را با Rust جایگزین کنید تا از سرعت، قابلیت اطمینان و ویژگی‌های سطح پایین این زبان بهره‌مند شوید.


در این کتاب می‌آموزید:

  • ایجاد کتابخانه‌های Rust که بتوان آن‌ها را از سایر زبان‌های برنامه‌نویسی فراخوانی کرد
  • ادغام توابع Rust با کدهای نوشته‌شده به زبان‌های دیگر
  • استفاده از سیستم مالکیت (ownership) و قرض‌گیری (borrowing) در Rust برای نوشتن کدهایی با عملکرد بالا
  • مدیریت خطاها به‌صورت مقادیر (value-based) با استفاده از enumهای Rust
  • کاهش مصرف حافظه با استفاده مؤثر از انواع مختلف رشته‌ای (string types) در Rust
  • افزایش عملکرد با استفاده از هم‌زمانی (concurrency) و پردازش رویداد به‌صورت asynchronous در Rust
  • ساخت سرویس‌های HTTP با استفاده از Rust


درباره فناوری

Rust به گونه‌ای طراحی شده که می‌تواند به‌تدریج جایگزین بخش‌هایی از کد موجود در زبان‌های دیگر شود. با افزودن تدریجی Rust به پروژه‌های موجود، می‌توان عملکرد، پایداری و بهره‌وری حافظه را بدون نیاز به بازنویسی کلی افزایش داد. این کتاب به شما نشان می‌دهد که چگونه کتابخانه‌های Rust مستقل ایجاد کرده، ویژگی‌های کلیدی را بهبود داده و از قابلیت‌های Rust برای هم‌زمانی ایمن و کدنویسی سطح پایین استفاده کنید.


درباره کتاب

Refactoring to Rust دقیقاً به شما نشان می‌دهد که کجا و چگونه می‌توان Rust را به‌صورت موضعی (surgical) در اپلیکیشن‌هایی که با زبان‌های دیگر نوشته شده‌اند، ادغام کرد. در ابتدا با سینتکس و مفاهیم منحصربه‌فرد Rust آشنا می‌شوید—مخصوصاً ویژگی‌هایی مانند عمر متغیرها (lifetimes) و مالکیت. سپس یاد می‌گیرید چگونه از Rust برای محصور کردن کدهای ناایمن، فراخوانی کتابخانه‌های استاندارد و سفارشی، و حتی اجرای کد Rust در مرورگر از طریق WASM استفاده کنید.


مطالب کلیدی کتاب:

  • ساخت کتابخانه‌های Rust قابل استفاده در زبان‌های دیگر
  • مدیریت خطاها به‌صورت مقدار با enum
  • بهینه‌سازی مصرف حافظه
  • افزایش سرعت با هم‌زمانی و async در Rust


مخاطب کتاب

این کتاب برای برنامه‌نویسان در سطح متوسط طراحی شده است و پیش‌نیازی برای آشنایی قبلی با زبان Rust ندارد.


Don’t rewrite from scratch! Improve your software speed and scalability by iteratively replacing performance-critical code with Rust


Refactoring to Rust helps you get the speed and reliability of Rust libraries, functions, and high-performance features without needing a complete rewrite of your codebase.


In Refactoring to Rust you will learn to:

  • Create Rust libraries you can call from other programming languages
  • Integrate Rust functions with code in other languages
  • Use Rust’s ownership and borrowing system to write high performance code
  • Handle errors as values using Rust’s enums
  • Minimize unnecessary memory usage with Rust’s multiple string types
  • Boost performance with Rust concurrency and async event processing
  • Create Rust HTTP services


Rust is designed to gradually replace other languages by integrating and decomposing existing code. Refactoring to Rust helps you take full advantage of this amazing feature, even if you’ve never coded in Rust before. You’ll learn practical code-mixing techniques like embedding Rust libraries into apps written in other languages.


About the technology

Upgrade your software without starting from scratch! By incrementally introducing Rust into your codebase, you can upgrade key features and improve the performance of almost any application. This book shows you how to create standalone Rust libraries, boost speed and stability by using Rust for concurrency, and create safe, memory-efficient low-level code.


about the book

Refactoring to Rust shows you exactly where and how to integrate Rust surgically into applications written in another language. You’ll start by reviewing Rust’s unique syntax and concepts, with special emphasis on unique language features like variable lifetime and ownership. Then, you’ll learn to use Rust to wrap dangerous code, call standard and custom Rust libraries, and even use WASM to run Rust in the browser.



what's inside

  • Create Rust libraries you can call from other languages
  • Handle errors as values using Rust’s enums
  • Optimize for memory efficiency
  • Boost performance with Rust concurrency


About the reader

For intermediate programmers. No Rust experience required.


Table of Contents

1. Why refactor to Rust

2. An overview of Rust

3. Introduction to C FFI and unsafe Rust

4. Advanced FFI

5. Structuring Rust libraries

6. Integrating with dynamic languages

7. Testing your Rust integrations

8. Asynchronous Python with Rust

9. WebAssembly for refactoring JavaScript

10. WebAssembly interface for refactoring


About the authors

Lily Mara is a software engineer focused on high-performance Rust applications. Joel Holmes is a software developer building cloud native applications. He is the Author of Shipping Go, and Co-Author of Go in Action, Second Edition.

دیدگاه خود را بنویسید
نظرات کاربران (0 دیدگاه)
نظری وجود ندارد.
کتاب های مشابه
وب
1,179
Rust Web Development
653,000 تومان
Rust
979
Asynchronous Programming in Rust
533,000 تومان
Rust
1,052
Beginning Rust
679,000 تومان
وب
1,092
Programming WebAssembly with Rust
448,000 تومان
Rust
1,189
Mastering Rust
992,000 تومان
Rust
1,064
Practical Rust Projects
647,000 تومان
Rust
1,376
Rust Quick Start Guide
376,000 تومان
Game Development
1,262
Game Development with Rust and WebAssembly
742,000 تومان
Rust
1,080
Rust Brain Teasers
318,000 تومان
Rust
868
Programming with Rust
652,000 تومان
قیمت
منصفانه
ارسال به
سراسر کشور
تضمین
کیفیت
پشتیبانی در
روزهای تعطیل
خرید امن
و آسان
آرشیو بزرگ
کتاب‌های تخصصی
هـر روز با بهتــرین و جــدیــدتـرین
کتاب های روز دنیا با ما همراه باشید
آدرس
پشتیبانی
مدیریت
ساعات پاسخگویی
درباره اسکای بوک
دسترسی های سریع
  • راهنمای خرید
  • راهنمای ارسال
  • سوالات متداول
  • قوانین و مقررات
  • وبلاگ
  • درباره ما
چاپ دیجیتال اسکای بوک. 2024-2022 ©