- Learning Rust
- Paul Johnson Vesa Kaihlavirta
- 108字
- 2021-07-02 23:07:25
Remember, Remember
One of the main advantages of using Rust over the likes of C is its memory management. For example, C programs will run into buffer overruns and associated undefined behavior if you attempt to write past the end of an array or past an area reserved using malloc. Rust protects against most of these problems without compromising on efficiency.
In this chapter, we will delve into how Rust handles memory and will cover the following topics:
- Understanding the memory system used within Rust
- How it can go wrong if you're not careful
- Looking at pointers, references, stack overflows, and preventing crashes
- Allocating and freeing up memory
推薦閱讀
- Learning Java Functional Programming
- .NET之美:.NET關鍵技術深入解析
- 嵌入式軟件系統測試:基于形式化方法的自動化測試解決方案
- Effective Python Penetration Testing
- 人人都懂設計模式:從生活中領悟設計模式(Python實現)
- 飛槳PaddlePaddle深度學習實戰
- Python算法詳解
- Quantum Computing and Blockchain in Business
- ASP.NET程序開發范例寶典
- Scala for Machine Learning(Second Edition)
- 平面設計經典案例教程:CorelDRAW X6
- 微前端設計與實現
- 程序員的成長課
- Effective C++:改善程序與設計的55個具體做法(第三版)中文版(雙色)
- 深入理解Zabbix監控系統