- Rust Programming Cookbook
- Claus Matzinger
- 174字
- 2021-06-24 12:27:47
Going Further with Advanced Rust
There are no doubts as to the difficulties that the Rust language poses to the avid learner. However, if you are reading this, you have gone further than most and invested the time needed to improve. The language and the way it forces you to think about memory is going to introduce new concepts into your programming habits. Rust does not necessarily provide new tools to accomplish things, but the borrowing and ownership rules help us to concern ourselves more with scopes, lifetimes, and freeing memory appropriately, regardless of the language. Hence, let's go deeper into more advanced concepts in Rust in order to complete our understanding of the language – when, why, and how to apply concepts such as the following:
- Creating meaningful numbers with enums
- There is no null
- Complex conditions with pattern matching
- Implementing custom iterators
- Filtering and transforming sequences efficiently
- Reading memory the unsafe way
- Shared ownership
- Shared mutable ownership
- References with explicit lifetimes
- Enforcing behavior with trait bounds
- Working with generic data types
推薦閱讀
- Java Web開發學習手冊
- Kubernetes實戰
- Rust編程從入門到實戰
- Koa開發:入門、進階與實戰
- Windows Presentation Foundation Development Cookbook
- C程序設計案例教程
- TradeStation交易應用實踐:量化方法構建贏家策略(原書第2版)
- Python編程實戰
- Android嵌入式系統程序開發:基于Cortex-A8(第2版)
- Python編程入門(第3版)
- Keil Cx51 V7.0單片機高級語言編程與μVision2應用實踐
- Microsoft Dynamics GP 2013 Cookbook
- HTML5程序設計基礎教程
- HTML5 Game Development by Example:Beginner's Guide(Second Edition)
- Java EE框架開發技術與案例教程