3 ms·
Im sorry for my ignorance, but I dont understand how HN can have memory leaks. I learned Scheme in school and from what I remember memory is handled automatical
by chacham15 14y ago
Im sorry for my ignorance, but I dont understand how HN can have memory leaks. I learned Scheme in school and from what I remember memory is handled automatically (in the particular one we were studying I think it was via reference counting). Is Arc that different from Scheme or am I just completely unaware of how Lisp works behind the scenes?
- philwelch 14y agoGarbage collection is cruise control for memory management, but you still have to steer. The only thing GC gives you is automated cleanup of orphaned data; if you're sloppy about holding references you don't need anymore, the GC won't help you.