logoalt Hacker News

khimarostoday at 2:12 AM3 repliesview on HN

don't you worry about garbage collection?


Replies

camdenreslinktoday at 2:15 AM

If you were using Python, then probably not.

show 1 reply
mellow_observertoday at 6:42 AM

What's the big issue with GC nowadays? It has mattered to me exactly once in decades and it was still manageable anyway by using a more low level style in a hot loop. I see very few usecases where GC actually matters and for those rare few cases it was not like you were using python beforehand anyway

coldteatoday at 7:40 AM

Why the hell would he "worry about garbage collection"? That kind of thing is a cargo cult fear.

Garbage collection is not an issue for 99% of programs. And for those that it is, there are ways to mitigate the issue (e.g. there are extremely high performance trading system written in Java, where every last sub-millisecond counts).

Blanket fear of GC reminds me when new programmers learned about how assembly is lower level and can be faster, and wondered why everything is not written in assembly.