-
Book Overview & Buying
-
Table Of Contents
The Rust Programming Handbook
By :
Welcome to Chapter 11!
We are about to begin an exciting chapter: smart pointers!
If you’re familiar with pointers in languages such as C or C++, you may have a particular perception of them.
But Rust’s smart pointers are more than just memory addresses; they function like pointers but have additional metadata and features. They are essential in ensuring Rust’s memory management is both safe and efficient. By the end of this chapter, you will have a solid understanding of smart pointers in general and how Rust utilizes them.
In simple terms, they can be described as granting you some “superpowers” when programming in Rust.
To understand these powerful tools, our exploration in this chapter will cover several key areas: