Cursed Coding: How the Void* Does Anything with Nothing
Zack Freedman Zack Freedman
541K subscribers
139,267 views
0

 Published On Aug 23, 2023

Why is my channel called Voidstar Lab?
Try Brilliant free for 30 days and get 20% off at https://brilliant.org/zackfreedman

Support me on Patreon!   / zackfreedman  
Support me on Thangs! https://thangs.com/zackfreedman
Meet me and make friends!   / discord  
Doomscroll me! https://x.com/zackfreedman

A PROGRAMMING EPISODE?! Egads! Gadzooks! It's a good one. C and C++ feature a bizarre keyword: void* represents a memory address whose data are unknown or totally absent. This meaningless map to nothing enables function pointers, universal memory management, and event-driven architecture - all practical ways to code cleaner, faster, and with fewer bugs.

This is an introductory programming video for beginners and intermediate coders. Advanced users have probably used tons of these already, but who knows? You might now know everything these five bizarre characters make possible.

Credits:
Interference SFX: Partners in Rhyme
Other SFX: zapsplat.com
Silly, silly stock footage: Storyblocks

show more

Share/Embed