Rust with diagrams: Ownership 1 - Rust's memory approach
Before understanding Ownership, we should know about Rust's memory approach.
Memory: STACK & HEAP
Rust has two different ways to handle data in memory:
Stack: better performance, first in first out, size and type is known in compile time, fixed size....
diagram.hashnode.dev2 min read