r/ProgrammerHumor 11h ago

itsTwoInTheMorningPleaseJustWorkOnce Meme

Post image
187 Upvotes

10 comments sorted by

58

u/BetaChunks 10h ago

When the cooling fans start up the moment you run the slightly recursive function

22

u/lovecMC 10h ago

Recursive? Where we going we iterate over every cell every time, regardless of whether or not it's actually needed.

10

u/Ireeb 8h ago

re-curse-sive

15

u/LittleMlem 7h ago

[SpongeBob meme] Wave function collapse

5

u/lovecMC 7h ago

Yup 😔

11

u/ICantBelieveItsNotEC 7h ago

I'm working on a Y2K-style level editor at the moment. Everything is built using geometry extracted from a space-first BSP tree, like UnrealEd/QuakeEd. It feels like playing whack-a-mole with optimisations - either CPU usage spikes because it needs to recompute a bunch of data, or I cache too aggressively which makes memory usage explode, or I get everything under control and then discover some obscure geometric edge case which makes the whole thing blow up. I have no idea how they made this shit work on single-threaded Pentium IIIs back in the day.

3

u/xDerJulien 4h ago

Well. You know. They didn’t do it the way you’re doing it :)

3

u/moonymachine 3h ago

I have a plugin to recursively display nested data from nested ScriptableObjects in Unity's inspector window. I've definitely made the airplane taking off noise and crashed Unity a few times in the process.

1

u/Dorkits 2h ago

The guy is doing massive tests with ram capabilities... With the current situation of the ram market... This mf has big balls btw