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>
pull/7439/head
Sivarajakani 1 month ago committed by GitHub
parent c7e483c384
commit 02d60e8eca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      src/data/roadmaps/rust/content/100-introduction/102-memory-safety.md

@ -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)

Loading…
Cancel
Save