r/ProgrammerHumor • • 14d ago

Meme nowYouKnowTheRealReason

Post image
1.1k Upvotes

19 comments sorted by

98

u/Frodojj 14d ago

Jensen really let his buffer overflow.

20

u/CharcoalGreyWolf 14d ago

He needs to keep Little Huang in his pants.

47

u/Drevicar 14d ago

He already has all the ram, why would he need to free any of it back up?

15

u/AgVargr 14d ago

Next month AI will make a revolutionary discovery that memory can be freed. Stock price pumps 10 quintillion percent

1

u/schewb 14d ago

Nahhh Sam's the Ram Man, Jen's jam's using VRAM, but the Third Man brings both the Ram and the VRAM, 'stand?

3

u/Drevicar 14d ago

His name is now Ram Altman, it is impolite to use his dead-name.

20

u/New_Computer3619 14d ago

If an object meant to has the same lifetime as the program, you don’t need to call free.

6

u/kaplotnikov 14d ago

The post assumes you're always supposed to call free after malloc, as if holding onto all three entities at the same time isn't intentional. He's just applying time-tested patterns of fault-tolerant system design to his personal life. Redundancy is essential. Others might call it "stepping on three boats", but a trimaran is one of the peaks of reliability in small ship construction. People spread across the Pacific in those.

4

u/BreachlightRiseUp 14d ago

It would actually be cudaMalloc or cudaMallocHost and cudaFree

1

u/a_gomez-298 9d ago

cudaMallocHost needs cudaFreeHost; otherwise even the correction leaks memory.

2

u/TehBloxx 13d ago

Jensen be dangling my pointer.

1

u/chrisonhismac 13d ago

Straight to jail.

1

u/Buyer_North 13d ago

its not necessary if you know what you are doing.... some cleverer OP would have used "did not set pointer to zero after using free". i mean, you dont have to, but it does not harm much

1

u/asato977424 4d ago

Setting one pointer to NULL doesn't clear its aliases; the other references can still dangle.

1

u/sitilge 11d ago

I bet he didn't commit anything and push, aight?

1

u/StrengthTheory 7d ago

Reports: Jensen Huang used a use-after-free to get back into Nvidia.

1

u/synth_mania 14d ago

How original

8

u/GatotSubroto 14d ago

*Taps head*

Can’t be vulnerable to use after free if you never freed.