C meme
C meme
A screenshot from youtube, Virbox
Eh... ship it. RAM is cheap.
54Reply"Uh, Boss, our customers are sending us the invoices for their RAM purchases."
32ReplyOMG I SHOULD HAVE DONE THAT TO JETBRAINS AND MICROSOFT FOR TEAMS
48Reply
That's why I preallocate the max memory I will need just like I was taught to do in Fortran. You can't leak what you don't have.
41ReplyHeap allocation failure > gradual memory leak
Checkmate atheists.
14Reply
This is why I only allocate on the stack
26ReplyPeople who are enthusiastic about using pointers in C++ are doing it wrong. Never use a pointer when you can get away with a reference.
19ReplyFor C++, yes. But "reference" is just a way of using the pointer when it comes to C
23ReplySure, but that's technically allocation-agnostic either way.
8Reply
Based nasa compliant engineer
13ReplyThis guy gets it
Static allocation for the SIL ratings
9Reply
Stack overflow intensifies
12ReplyI only use the registers.
3Reply
~I’m sorry~
19Replyrip random amiga machine
5ReplyThe line causing the memory leaks is actually the lack of a line:
free()
. 2Reply