
Easy Rust
Description
Book Introduction
From actual software development to asynchronous processing
Everything you need to know about Rust programming: Learn it quickly and easily.
Let's learn Rust step by step, from the basics of the Rust programming language to practical application.
It is structured in a friendly and easy-to-understand manner so that anyone, from beginners new to Rust to developers of other languages, can easily enter the world of Rust.
Learn Rust from basics to advanced techniques by practicing various examples through Rust Playground, which can be run right away without a complicated installation process.
It covers all the core concepts of Rust, from understanding compiler messages and utilizing external libraries to asynchronous programming and macro writing techniques.
With this book, you too can become a developer who loves Rust.
Experience the charm of Rust now!
Everything you need to know about Rust programming: Learn it quickly and easily.
Let's learn Rust step by step, from the basics of the Rust programming language to practical application.
It is structured in a friendly and easy-to-understand manner so that anyone, from beginners new to Rust to developers of other languages, can easily enter the world of Rust.
Learn Rust from basics to advanced techniques by practicing various examples through Rust Playground, which can be run right away without a complicated installation process.
It covers all the core concepts of Rust, from understanding compiler messages and utilizing external libraries to asynchronous programming and macro writing techniques.
With this book, you too can become a developer who loves Rust.
Experience the charm of Rust now!
- You can preview some of the book's contents.
Preview
index
[PART 1: Using Rust in a Web Browser]
CHAPTER 1 Rust Basics
_1.1 Rust Playground
_1.2 (construction icon) and (warning icon)
_1.3 Notes
_1.4 type
_1.5 Type Inference
_1.6 Print 'hello, world!'
_1.7 Declaring variables and code blocks
_1.8 Display and Debug
_1.9 Smallest and Largest Numbers
_1.10 Variability
_1.11 Shadowing
CHAPTER 2 Memory, Variables, and Ownership
_2.1 Stack, Heap, Pointers
_2.2 Understanding the Output
_2.3 string
_2.4 const and static
_2.5 See References
_2.6 Mutable References
_2.7 Revisiting Shadowing
_2.8 Provides a reference to the function
_2.9 Copy Type
_2.10 Variables without values
CHAPTER 3 Complex Types
_3.1 Collection Type
_3.2 Control Flow
_3.3 Structure
_3.4 Enumeration
_3.5 loop
_3.6 Implementing Structures and Enumerations
_3.7 Dismantling
_3.8 References and Dot Operators
CHAPTER 4 GENERICS
_4.1 Generic
_4.2 Options and Results
Chapter 5: Collections and Error Handling
_5.1 Other collections
_5.2 ? operator
_5.3 When Panic and Unwrap Are Useful
CHAPTER 6 Traits
_6.1 Trait Basics
_6.2 From Trait
_6.3 Getting strings and &str from functions
CHAPTER 7 Iterators and Closure Basics
_7.1 Chaining Methods
_7.2 Iterator
_7.3 Closure
CHAPTER 8: Iterators and Closures in Detail
_8.1 Useful methods for closures and iterators
_8.2 dbg! Macro and .inspect
CHAPTER 9 Lifespan and Internal Variability
_9.1 & str type
_9.2 Lifespan
_9.3 Internal variability
_9.4 Cow
CHAPTER 10 Multithreading and Advanced Topics
_10.1 Type Aliases and New Types
_10.2 Importing and renaming within a function
_10.3 todo! macro
_10.4 Rc
_10.5 Multithreading
Chapter 11: Closures, Generics, and Threads
_11.1 Closures inside functions
_11.2 impl Trait
_11.3 Arc
_11.4 Scoped Threads
_11.5 channel
CHAPTER 12 Boxes and Rust Documentation
_12.1 Reading the Rust Documentation
_12.2 Properties
_12.3 Box
CHAPTER 13 Default Values, Builder Pattern, Deref
_13.1 Defaults and the Builder Pattern
_13.2 Deref and DerefMut
CHAPTER 14 Testing and Building Code
_14.1 Crates and Modules
_14.2 Test
_14.3 Test-Driven Development
CHAPTER 15 Constants, Unsafe Rust, and External Crates
_15.1 Generic Constants
_15.2 Constant functions
_15.3 Mutable static variables
_15.4 Unsafe Rust
_15.5 External Crate
_15.6 lazy_static and OnceCell
[PART 2 Using Rust on Your Computer]
CHAPTER 16 Using Rust
_16.1 Cargo
_16.2 Getting user input
_16.3 Using the file
_16.4 cargo doc
CHAPTER 17: More Crates and Asynchronous Rust
_17.1 reqwest
_17.2 Feature Flags
_17.3 Asynchronous Rust
CHAPTER 18: A Tour of the Standard Library
_18.1 Array
_18.2 char
_18.3 Integer type
_18.4 Floating Point Types
_18.5 bool
_18.6 Vec
_18.7 String
_18.8 OsString and CString
_18.9 mem
_18.10 prelude
_18.11 time
_18.12 Other Macros
CHAPTER 19 Writing Macros
CHAPTER 20 Creating a Book Management Program
_20.1 Getting Ready
_20.2 Developing
_20.3 Deployment
_20.4 In conclusion
[PART 3 APPENDIX]
APPENDIX A: Installing Rust
APPENDIX B Installing Node.js
APPENDIX C Installing PostgreSQL
APPENDIX D Installing Visual Studio Code
APPENDIX E Installing Podman
APPENDIX F Installing and Running a PostgreSQL Server with Podman
CHAPTER 1 Rust Basics
_1.1 Rust Playground
_1.2 (construction icon) and (warning icon)
_1.3 Notes
_1.4 type
_1.5 Type Inference
_1.6 Print 'hello, world!'
_1.7 Declaring variables and code blocks
_1.8 Display and Debug
_1.9 Smallest and Largest Numbers
_1.10 Variability
_1.11 Shadowing
CHAPTER 2 Memory, Variables, and Ownership
_2.1 Stack, Heap, Pointers
_2.2 Understanding the Output
_2.3 string
_2.4 const and static
_2.5 See References
_2.6 Mutable References
_2.7 Revisiting Shadowing
_2.8 Provides a reference to the function
_2.9 Copy Type
_2.10 Variables without values
CHAPTER 3 Complex Types
_3.1 Collection Type
_3.2 Control Flow
_3.3 Structure
_3.4 Enumeration
_3.5 loop
_3.6 Implementing Structures and Enumerations
_3.7 Dismantling
_3.8 References and Dot Operators
CHAPTER 4 GENERICS
_4.1 Generic
_4.2 Options and Results
Chapter 5: Collections and Error Handling
_5.1 Other collections
_5.2 ? operator
_5.3 When Panic and Unwrap Are Useful
CHAPTER 6 Traits
_6.1 Trait Basics
_6.2 From Trait
_6.3 Getting strings and &str from functions
CHAPTER 7 Iterators and Closure Basics
_7.1 Chaining Methods
_7.2 Iterator
_7.3 Closure
CHAPTER 8: Iterators and Closures in Detail
_8.1 Useful methods for closures and iterators
_8.2 dbg! Macro and .inspect
CHAPTER 9 Lifespan and Internal Variability
_9.1 & str type
_9.2 Lifespan
_9.3 Internal variability
_9.4 Cow
CHAPTER 10 Multithreading and Advanced Topics
_10.1 Type Aliases and New Types
_10.2 Importing and renaming within a function
_10.3 todo! macro
_10.4 Rc
_10.5 Multithreading
Chapter 11: Closures, Generics, and Threads
_11.1 Closures inside functions
_11.2 impl Trait
_11.3 Arc
_11.4 Scoped Threads
_11.5 channel
CHAPTER 12 Boxes and Rust Documentation
_12.1 Reading the Rust Documentation
_12.2 Properties
_12.3 Box
CHAPTER 13 Default Values, Builder Pattern, Deref
_13.1 Defaults and the Builder Pattern
_13.2 Deref and DerefMut
CHAPTER 14 Testing and Building Code
_14.1 Crates and Modules
_14.2 Test
_14.3 Test-Driven Development
CHAPTER 15 Constants, Unsafe Rust, and External Crates
_15.1 Generic Constants
_15.2 Constant functions
_15.3 Mutable static variables
_15.4 Unsafe Rust
_15.5 External Crate
_15.6 lazy_static and OnceCell
[PART 2 Using Rust on Your Computer]
CHAPTER 16 Using Rust
_16.1 Cargo
_16.2 Getting user input
_16.3 Using the file
_16.4 cargo doc
CHAPTER 17: More Crates and Asynchronous Rust
_17.1 reqwest
_17.2 Feature Flags
_17.3 Asynchronous Rust
CHAPTER 18: A Tour of the Standard Library
_18.1 Array
_18.2 char
_18.3 Integer type
_18.4 Floating Point Types
_18.5 bool
_18.6 Vec
_18.7 String
_18.8 OsString and CString
_18.9 mem
_18.10 prelude
_18.11 time
_18.12 Other Macros
CHAPTER 19 Writing Macros
CHAPTER 20 Creating a Book Management Program
_20.1 Getting Ready
_20.2 Developing
_20.3 Deployment
_20.4 In conclusion
[PART 3 APPENDIX]
APPENDIX A: Installing Rust
APPENDIX B Installing Node.js
APPENDIX C Installing PostgreSQL
APPENDIX D Installing Visual Studio Code
APPENDIX E Installing Podman
APPENDIX F Installing and Running a PostgreSQL Server with Podman
Detailed image

Publisher's Review
Safety and performance at the same time!
The most reliable way to learn Rust easily
Rust is a modern programming language that provides memory safety while maintaining the performance and control of C/C++.
It is used in various fields such as system programming, web development, embedded development, and game development, and is attracting attention as a language that offers both stability and efficiency.
However, Rust's unique concepts of ownership and borrowing can present a high barrier to entry for beginners.
But there's no need to worry.
With Easy Rust, you can learn Rust naturally and use it confidently.
This book explains the core concepts of Rust step-by-step and provides various examples that you can practice in the Rust Playground.
We introduce essential concepts such as ownership, borrowing, and generics with practical exercises, so that even beginners to Rust can easily understand and utilize them.
Additionally, you can develop practical application skills beyond theory by creating your own library management program.
Get started with Rust with this book.
Rust, which once felt difficult, will now be approached in a familiar language.
Target audience
● Beginners to Rust with basic programming knowledge
● Developers who want to switch from another language to Rust
● Developers interested in system programming
Key Contents
● Understand core Rust concepts such as ownership, borrowing, generics, and enumerations.
● Learn concepts by running code directly in a web environment
● Increasing code reusability by using generics
● Learn how to handle errors using Option and Result.
● Deep dive into advanced topics like multithreading, closures, and iterators
The most reliable way to learn Rust easily
Rust is a modern programming language that provides memory safety while maintaining the performance and control of C/C++.
It is used in various fields such as system programming, web development, embedded development, and game development, and is attracting attention as a language that offers both stability and efficiency.
However, Rust's unique concepts of ownership and borrowing can present a high barrier to entry for beginners.
But there's no need to worry.
With Easy Rust, you can learn Rust naturally and use it confidently.
This book explains the core concepts of Rust step-by-step and provides various examples that you can practice in the Rust Playground.
We introduce essential concepts such as ownership, borrowing, and generics with practical exercises, so that even beginners to Rust can easily understand and utilize them.
Additionally, you can develop practical application skills beyond theory by creating your own library management program.
Get started with Rust with this book.
Rust, which once felt difficult, will now be approached in a familiar language.
Target audience
● Beginners to Rust with basic programming knowledge
● Developers who want to switch from another language to Rust
● Developers interested in system programming
Key Contents
● Understand core Rust concepts such as ownership, borrowing, generics, and enumerations.
● Learn concepts by running code directly in a web environment
● Increasing code reusability by using generics
● Learn how to handle errors using Option and Result.
● Deep dive into advanced topics like multithreading, closures, and iterators
GOODS SPECIFICS
- Date of issue: February 26, 2025
- Page count, weight, size: 592 pages | 183*235*23mm
- ISBN13: 9791169213462
- ISBN10: 1169213464
You may also like
카테고리
korean
korean