Hacker News new | ask | show | jobs
by chunkbot 5672 days ago
I treat memory as a resource too precious to be left to the mercy of programmers. In any application, a good garbage collector can be more efficient than malloc/free or new/delete.

http://www.jwz.org/doc/gc.html

1 comments

How about compared to retain/release/autorelease?
?? I admit the last time I really coded in Obj-C was for NeXTSTEP. But back then init ultimately called malloc, and release ultimately called free. In any case, yes, a good GC can be faster as it takes advantage of cache effects.
I upvoted you, but I was mostly just quoting the jwz article from 1998.