DEV Community

Discussion on: GoLang, The Next Language to Learn for Developers

Collapse
 
qm3ster profile image
Mihail Malo • Edited

Why isn't the second biggest con (garbage collector) listed?

Collapse
 
dizveloper profile image
Edvin

The cons in the bottom don’t really mention garbage collecting being a bad thing, but in some cases automatic garbage collection isn’t good. For example, in video games you don’t want automatic and constant garbage collection.

Collapse
 
qm3ster profile image
Mihail Malo

Sorry, typo. I meant isn't listed.
One prominent project that fell victim to go garbage collection is deno, since they were embedding the v8 js vm, and had contention between go's and v8's garbage collection passes. They have since switched to Rust.