ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Beginning Rust: Get Started with Rust 2021 Edition

دانلود کتاب Beginning Rust: با Rust 2021 Edition شروع کنید

Beginning Rust: Get Started with Rust 2021 Edition

مشخصات کتاب

Beginning Rust: Get Started with Rust 2021 Edition

ویرایش: 2 
نویسندگان:   
سری:  
ISBN (شابک) : 1484272072, 9781484272077 
ناشر: Apress 
سال نشر: 2021 
تعداد صفحات: 424 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 4 مگابایت 

قیمت کتاب (تومان) : 88,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 21


در صورت تبدیل فایل کتاب Beginning Rust: Get Started with Rust 2021 Edition به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب Beginning Rust: با Rust 2021 Edition شروع کنید نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب Beginning Rust: با Rust 2021 Edition شروع کنید



برنامه نویسی با Rust 2021 Edition را به روشی آسان و گام به گام در یونیکس، پوسته لینوکس، macOS و خط فرمان ویندوز بیاموزید. همانطور که این کتاب را می خوانید، بر دانشی که در فصل های قبلی به دست آورده اید، می پردازید و خواهید دید که Rust چه چیزی برای ارائه دارد.

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

فقط دانش اولیه برنامه‌نویسی در C یا C++ و آشنایی با کنسول فرمان الزامی است. پس از خواندن این کتاب، آماده ساختن برنامه های ساده Rust خواهید بود.

آنچه خواهید آموخت

  • برنامه نویسی را با Rust شروع کنید< /li>
  • درک ساختارهای داده ناهمگن و توالی داده
  • تعریف توابع، توابع عمومی، ساختارها و موارد دیگر
  • کار با بسته‌ها، رشته‌های قابل تغییر، محدوده‌ها و برش‌ها
  • از ویژگی ها استفاده کنید و درباره طول عمر بیاموزید  

این کتاب برای چه کسانی است 

کسانی که به تازگی با Rust آشنا شده اند و حداقل موارد قبلی را دارند تجربه برنامه نویسی به طور کلی: مقداری C/C++ به ویژه توصیه می شود.

توضیحاتی درمورد کتاب به خارجی

Learn to program with Rust 2021 Edition, in an easy, step-by-step manner on Unix, the Linux shell, macOS, and the Windows command line.  As you read this book, you’ll build on the knowledge you gained in previous chapters and see what Rust has to offer.   

Beginning Rust starts with the basics of Rust, including how to name objects, control execution flow, and handle primitive types. You’ll see how to do arithmetic, allocate memory, use iterators, and handle input/output. Once you have mastered these core skills, you’ll work on handling errors and using the object-oriented features of Rust to build robust Rust applications in no time.

Only a basic knowledge of programming in C or C++ and familiarity with a command console are required. After reading this book, you’ll be ready to build simple Rust applications.

What You Will Learn

  • Get started programming with Rust
  • Understand heterogeneous data structures and data sequences
  • Define functions, generic functions, structs, and more
  • Work with closures, changeable strings, ranges and slices
  • Use traits and learn about lifetimes  

Who This Book Is For 

Those who are new to Rust and who have at least some prior experience with programming in general: some C/C++ is recommended particularly.


فهرست مطالب

Table of Contents
About the Author
About the Technical Reviewer
Preface
	What You Need to Know
	How to Read This Book
	Where to Find the Source Code
	What This Book Does Not Cover
Chapter 1: Getting Started
	How to Start
	Hello, World!
	Printing Combinations of Literal Strings
	Printing Several Lines of Text
	Printing Integer Numbers
	Comments
Chapter 2: Doing Arithmetic and Writing More Code
	Adding Integer Numbers
	Other Operations Between Integer Numbers
	Floating-Point Arithmetic
	Sequences of Statements
	Breaking Literal Strings
Chapter 3: Naming Objects
	Associating Names to Values
	Mutable Variables
	Not Mutated Mutable Variables
	Uninitialized Variables
	The Leading Underscore
	Boolean Values
	Boolean Expressions
	Type Consistency in Assignments
	Type Inference
	Change of Type and of Mutability
	Compound Assignment Operators
	Using the Functions of the Standard Library
Chapter 4: Controlling Execution Flow
	Conditional Statements (if)
	Conditional Expressions
	Conditional Loops (while)
	Infinite Loops (loop)
	Counting Loops (for)
	Variables Scopes
Chapter 5: Using Data Sequences
	Arrays
	Rust Attributes
	Panicking
	Mutable Arrays
	Arrays of Explicitly Specified Size
	Multidimensional Arrays
	Vectors
	Other Operations on Vectors
	Empty Arrays and Vectors
	Debug Print
	Copying Arrays and Vectors
Chapter 6: Using Primitive Types
	Nondecimal Numeric Bases
	The Underscore in Numeric Literals
	The Exponential Notation
	The Various Kinds of Signed Integer Numbers
	Unsigned Integer Number Types
	Target-Dependent Integer-Number Types
	Type Inference
	The Type Inference Algorithm
	Floating-Point Numeric Types
	Explicit Conversions
	Type Suffixes of Numeric Literals
	All the Numeric Types
	Booleans and Characters
	The Empty Tuple
	Array and Vector Types
	Constants
	Discovering the Type of an Expression
Chapter 7: Enumerations and Matching
	Enumerations
	The match Construct
	Relational Operators and Enums
	Handling All the Cases
	Using match with Numbers
	Enumerations with Data
	match Statements with Variables in Patterns
	match Expressions
	Use of Guards in match Constructs
	if-let and while-let Constructs
Chapter 8: Using Heterogeneous Data Structures
	The Tuples
	The Structs
	The Tuple-Structs
	Lexical Conventions
Chapter 9: Defining Functions
	Defining and Invoking a Function
	Functions Defined After Their Use
	Functions Shadowing Other Functions
	Passing Arguments to a Function
	Passing Arguments by Value
	Returning a Value from a Function
	Early Exit
	Returning Several Values
	How to Change a Variable of the Caller
	Passing Arguments by Reference
	Using References
	Mutability of References
Chapter 10: Defining Generic Functions and Types
	Need of Generic Functions
	Defining and Using Generic Functions
	Inferring the Parametric Types
	Defining and Using Generic Structs
	Genericity Mechanics
	Generic Arrays and Vectors
	Generic Enums
	The Option Standard Enum
	The Result Standard Enum
	Enum Standard Utility Functions
Chapter 11: Allocating Memory
	The Various Kinds of Allocation
	Linear Addressing
	Static Allocation
	Stack Allocation
	Limitations of Stack Allocation
	Heap Allocation
	Heap Management
	The Behavior of Box
	Similarity with C and C++
	Boxing and Unboxing
	Register Allocation
Chapter 12: Data Implementation
	Discovering the Size of Objects
	The use Directive
	The Sizes of the Primitive Types
	The Representation of Primitive Types
	Location of Bytes in Memory
	Sizes of Composite Data Types
	Vector Allocation
Chapter 13: Defining Closures
	The Need for Disposable Functions
	Capturing the Environment
	Closures
	Closure Invocation Syntax
Chapter 14: Using Changeable Strings
	Static Strings
	Dynamic Strings
	Implementation of String
	Creating Dynamic Strings
	Converting Static Strings to Dynamic Strings
	Concatenating Strings
Chapter 15: Ranges and Slices
	The Ranges
	Motivation for Slices
	The Slices
	Slicing
	Out-of-Range Slicing
	Mutable Slicing
	Open-Ended Ranges and Slicing
	Inclusive Ranges
Chapter 16: Using Iterators
	String Characters
	Scanning a String
	Using String Iterators in for Loops
	The Rust Editions
	Iterators over Vectors, Arrays, and Slices
	Iterators Generating References
	Iterations without Mutation
	Iterations with Mutation
	Shorthand for Using Iterators in Loops
	Iterator Generators
	An Iterator Adapter: filter
	The map Iterator Adapter
	The enumerate Iterator Adapter
	An Iterator Consumer: any
	The all Iterator Consumer
	The count Iterator Consumer
	The sum Iterator Consumer
	The min and max Iterator Consumers
	The collect Consumer
	Iterator Chains
	Iterators Are “Lazy”
Chapter 17: Input/Output and Error Handling
	Command-Line Arguments
	Process Return Code
	Environment Variables
	Reading from the Console
	Proper Runtime Error Handling
	Writing to the Console
	Converting a Value to a String
	Converting a String to a Value
	File Input/Output
	Processing Text Files
Chapter 18: Data Encapsulation
	The Need for Methods
	Method Declarations
	The self and Self Keywords
	The mod and the pub Keywords
	The type Keyword
Chapter 19: Using Traits
	The Need for Traits
	Traits to the Rescue
	Generic Functions with No Parameter Bounds
	Scope of Traits
	Traits with Multiple Methods
	Generic Parameters with Multiple Bounds
	Trait Inheritance
	Adding Methods to External Types
	Standard Traits: Display and Debug
	Generic Traits
	Using Associated Types
	The Iterator Standard Trait
Chapter 20: Object-Oriented Programming
	Peculiarities of Rust Object-Orientation
	Destructors
	Operator Overloading
	Infallible Type Converters
	Fallible Type Converters
	Composition Instead of Inheritance
	Static Dispatch
	Dynamic Dispatch
	Implementation of Dynamic-Dispatch References
	Static vs. Dynamic Dispatch
Chapter 21: Standard Library Collections
	Collections
	Measuring Execution Time
	Performing Arbitrary Insertions and Removals
	Queues
	Linked Lists
	Binary Heaps
	Ordered Sets and Unordered Sets
	Ordered Dictionaries and Unordered Dictionaries
	Collections in C++ and in Rust
Chapter 22: Ownership, Moves, and Copies
	Deterministic Destruction
	Ownership
	Assignment Semantics
	Copying vs. Moving Performance
	Moving and Destroying Objects
	Need for Copy Semantics
	Cloning Objects
	Making Types Cloneable or Copyable
Chapter 23: Borrowing and Lifetimes
	Programming Errors when Using References
	Borrowing
	Object Lifetimes
	How to Prevent Use After Drop Errors
	How to Prevent Use After Change by an Alias Errors
	The Need for Lifetime Specifiers in Returned References
	Usage and Meaning of Lifetime Specifiers
	Checking the Validity of Lifetime Specifiers
	Using the Lifetime Specifiers of Invoked Functions
	Advantage of Using Several Lifetime Specifiers for a Function
Chapter 24: More About Lifetimes
	Lifetime Elision
	Lifetime Elision with Object-Oriented Programming
	The Need for Lifetime Specifiers in Structs Declarations
	Possible Lifetime Specifiers for Structs
	Lifetime Specifiers for Tuple-Structs and Enums
	Lifetime Specifiers for Mutable References
Index




نظرات کاربران