Skip to main content
AmigoFish

Cursed Coding: How the Void* Does Anything with Nothing

From Zack Freedman · · 21 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.

If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.

Watch on YouTube

Not rated yet

Description

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! https://patreon.com/zackfreedman Support me on Thangs! https://thangs.com/zackfreedman Meet me and make friends! https://discord.gg/voidstarlab 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

Back to Zack Freedman · Report a problem