Memory safety in C++, Zig, & Rust (part 1)

Опубликовано: 10 Октябрь 2024
на канале: Context Free
55,257
2k

Part 2:    • Reference Cycles in Rust, C++, and C#...  
Code: https://github.com/contextfreecode/sa...

0:00 Intro
0:27 == C++ (cpp) ==
1:30 Returning expired memory
3:09 Pointers and values
4:02 Analyzing memory errors
6:09 Secret frees
7:19 Out of bounds
8:31 Initializing values
8:50 == Zig ==
9:33 Initializing values
9:50 Out of bounds
10:13 Explicit destruction and memory leaks
11:26 == Rust ==
12:13 Trying to return locals
13:00 Trying to ignore secret frees
13:50 Trying to set parent pointers
15:27 Out of bounds
15:54 Outro