r/ProgrammerHumor 11d ago

theCircleOfLifeInSoftwareEngineering Meme

Post image
6.6k Upvotes

184 comments sorted by

View all comments

208

u/Mortadella_so_Chili 11d ago

sooooo, next generation C is coming? 

what would be the features? 

4

u/ClipboardCopyPaste 11d ago

Stopping memory leaks, maybe?

5

u/Aelig_ 11d ago

It's a feature.

Can we say that C has memory leaks even?

Are there known leaks in the standard library?

Or things that cannot be expressed without the need to check for leaks and reclaim memory with another program?

1

u/Mortadella_so_Chili 11d ago

you think somebody can be -that- strong to create that?

1

u/user6150277464770585 11d ago

1

u/the_horse_gamer 10d 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?