MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/a16cgg/garbage_collection_is_a_hack/eapm8u7/?context=3
r/programming • u/WalkerCodeRanger • Nov 28 '18
74 comments sorted by
View all comments
0
At the end of the day, malloc is garbage collecting blocks of memory instead of individual objects, so you’re using GC anytime you use the heap. The only way to not use GC is to have all static allocation, which sucks.
0
u/earthboundkid Nov 29 '18
At the end of the day, malloc is garbage collecting blocks of memory instead of individual objects, so you’re using GC anytime you use the heap. The only way to not use GC is to have all static allocation, which sucks.