|
|
|
|
|
by rixed
272 days ago
|
|
> How is it that people simultaneously believe
> 1) GC makes a language slow, and
> 2) Go is fast? Easy one: either not the same people, or people holding self contradicting thoughts. GC are slow not only because of scanning the memory but also because of the boxing. In my experience, 2 to 3 times slower. Still a better tradeoff in the vast majority of cases over manual memory management. A GC is well worth the peace of mind. |
|
Not every GC boxes primitives. Most don't.