mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-26 10:34:40 +02:00
feat: add a YouTube video link to Rust memory management (#7438)
* Added a YouTube video link to Rust memory management In this video, he provides a clear explanation of Rust's ownership system, including example code. It could be helpful for understanding ownership concepts. * Update src/data/roadmaps/rust/content/100-introduction/102-memory-safety.md --------- Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
This commit is contained in:
@@ -5,3 +5,7 @@ Rust is a system programming language that runs blazingly fast, prevents segfaul
|
||||
<!-- Adding content on Zero-cost Abstraction -->
|
||||
|
||||
Zero-cost abstraction is another key concept Rust implements. In general, abstractions in programming languages allow code to be written at a high level (like in Python), while being able to run at a low level (like in C). However, these abstractions often come with a runtime cost. In contrast, Rust aims to provide many useful abstractions, such as iterators and closures, that don't sacrifice runtime performance. This means you can write high-level code in Rust, and the Rust compiler will optimize it to run as fast as manually written low-level code.
|
||||
|
||||
Learn more from the following resources:
|
||||
|
||||
- [@video@This Is How Rust Stops Memory Leaks](https://www.youtube.com/watch?v=DJdUjjOmyx8)
|
||||
|
Reference in New Issue
Block a user