Menu
HTTP 303: See Other (The original redirect).
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Heap-allocation Memes
Posts tagged with Heap-allocation
Either It All Fits On The Stack Or You Need A Bigger Stack
C++
Programming
Debugging
Algorithms
1 year ago
605.6K views
0 shares
Behold the absolute MADLAD who decided that heap allocation is for the weak and cowardly! Why bother with malloc() or new when you can just throw everything onto the stack like you're playing Jenga with your program's memory? Stack overflow? Never heard of her. Just casually allocating 50MB arrays as local variables and watching your program crash with the grace of a drunk giraffe on ice skates. The sheer AUDACITY of living life on the edge, where every function call is a gamble and segmentation faults are just spicy surprises. Who needs proper memory management when you can just increase the stack size and pretend the problem doesn't exist? It's giving "I don't have a hoarding problem, I just need a bigger house" energy but make it programming.
Today's picks
Buyajuju Travel Mug with Handle and Silicone Lid in Gift Box, Porcelain, Cup Holder Friendly, 16oz Tall Coffee Travel Mug Tumbler for Tea, Latte and Hot Chocolate On the Go, Labelled “ Family”
Affiliate
$16.99
*Googles "How Do I Finish A Game"*
Gamedev
383.1K views
8 months ago
Had No Backup
Linux
95.2K views
2 years ago