Hacker News new | ask | show | jobs
by sesm 1710 days ago
> Both Go and JavaScript have parallel garbage collectors, but Go's heap is shared between all threads while JavaScript has a separate heap per JavaScript thread.

It actually implies that JS GC can be faster because it doesn’t require global locks and can collect garbage in parallel.