Grow your YouTube views, likes and subscribers for free
Get Free YouTube Subscribers, Views and Likes

Cursed Coding: How the Void* Does Anything with Nothing

Follow
Zack Freedman

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 eventdriven 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

posted by Plakkaattb