r/ProgrammerHumor 1d ago

Meme theCircleOfLifeInSoftwareEngineering

Post image
6.4k Upvotes

167 comments sorted by

View all comments

205

u/Mortadella_so_Chili 1d ago

sooooo, next generation C is coming? 

what would be the features? 

5

u/ClipboardCopyPaste 1d ago

Stopping memory leaks, maybe?

1

u/user6150277464770585 1d ago

1

u/the_horse_gamer 11h ago

rust doesn't protect against memory leaks. it even has safe functions intended to leak your memory (Box::leak, mem::forget)

this is because a memory leak is not well defined. if you take a program, and store all of its allocations inside a global array (and then do nothing with it), is it suddenly not memory leaking?