Why uninitialized variables are so extremely dangerous in low-level programming

Опубликовано: 04 Август 2026
на канале: Valigo
18,248
799

You should always initialize your variables in C. Here we are looking at what can happen if you don't at the lowest level in assembly. And also some best practices for what to initialize them to. Thank you very much for watching!

My other video on how Linux works on assembly level:    • Rewriting "sleep" from scratch - no librar...  

The Easiest Way To Handle Errors Is To Not Have Them: https://www.dgtlgrove.com/p/the-easie...
TigerStyle: https://tigerstyle.dev/
Dependable C: https://dependablec.org/

My twitter: https://x.com/valigo

Chapters:
00:00 - Start
00:20 - Look at the code
01:11 - Segfault
02:00 - Look at disassembly
05:40 - Digging deeper with repeated stack
17:00 - Best practices
21:20 - What Jai does
23:40 - The End