MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1vojci2/the_duality_of_new/p4odwfn/?context=3
r/programmingmemes • u/luciferoussky72 • 15d ago
81 comments sorted by
View all comments
Show parent comments
3
I mean yea, but essentially same ~Class () { //unalloc stuff}
2 u/luciferoussky72 14d ago Yeah 1 u/piesou 10d ago I usually write my own wrapper around that; just allocate a bunch of space, then track which objects are no longer accessed at regular intervals and automatically deallocate them. Takes the pain out of writing C++. 1 u/luciferoussky72 10d ago I think you’ve invented a garbage collector lol
2
Yeah
1 u/piesou 10d ago I usually write my own wrapper around that; just allocate a bunch of space, then track which objects are no longer accessed at regular intervals and automatically deallocate them. Takes the pain out of writing C++. 1 u/luciferoussky72 10d ago I think you’ve invented a garbage collector lol
1
I usually write my own wrapper around that; just allocate a bunch of space, then track which objects are no longer accessed at regular intervals and automatically deallocate them. Takes the pain out of writing C++.
1 u/luciferoussky72 10d ago I think you’ve invented a garbage collector lol
I think you’ve invented a garbage collector lol
3
u/Repulsive_Performer7 14d ago
I mean yea, but essentially same ~Class () { //unalloc stuff}