Logo
It's not a bug, it's an undocumented feature.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

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
11 months ago 588.3K views 0 shares
Either It All Fits On The Stack Or You Need A Bigger Stack
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

Claiks Electric Height Adjustable Standing Desk, 48x24 Inch, Rustic Brown | Smooth Height Adjustment, 3 Memory Presets, Cable Management Hub&Hook, Stable Steel Frame, 176lbs Capacity, Easy Assembly

Claiks Electric Height Adjustable Standing Desk, 48x24 Inch, Rustic Brown | Smooth Height Adjustment, 3 Memory Presets, Cable Management Hub&Hook, Stable Steel Frame, 176lbs Capacity, Easy Assembly

Affiliate
$104.49
What Pandas Actually Do

What Pandas Actually Do

Programming
646.3K views 1 year ago
NordVPN

NordVPN

Sponsored
VPN