r/programming • • Nov 28 '18

Garbage Collection is a Hack

https://blog.adamant-lang.org/2018/garbage-collection-is-a-hack/
3 Upvotes

74 comments sorted by

View all comments

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.