C and low-level programming lets you get down to the underlying memory and bytes like no other language (except maybe assembly lol). The realizations from this have fundamentally changed the way I think about programming.
Example code used (DEMO ONLY, NOT PRODUCTION): https://hoff.industries/files/memory.zip
Chapters:
00:00 - Intro and Overview
01:09 - it's all bytes? always has been.
01:33 - struct's representation in memory
03:20 - padding and alignment
04:41 - viewing a struct's underlying memory
07:14 - modding a struct's underlying memory DIRECTLY
08:14 - inspecting the bytes that make up a float
11:02 - linux kernel's ip packet header example
12:47 - ENDIANNESS IS HERE TO RUIN OUR FUN
14:17 - getting header data from a PNG file with struct casts
Download
0 formats
No download links available.
Pointer Tricks that Leveled Up my Programming | NatokHD