News for hackers. Stuff that matters.
Re:Proposed New Go GC: Transaction-Oriented Collector by voidlogic on Friday June 24, 2016 @01:20PM (#11971655)
The Go 1.7 GC is already on par with most Java GCs and arguably better. Our Go projects with large heaps now have better pause times than the similar Java programs, all having tried many of the Java GCs...
Re:Proposed New Go GC: Transaction-Oriented Collector by icholy on Friday June 24, 2016 @02:02PM (#11972000)
Not sure if it's better, it just has less work to do. Java creates a lot more garbage.
Re:Proposed New Go GC: Transaction-Oriented Collector by stcredzero on Friday June 24, 2016 @02:13PM (#11972090)
Whatever works. It's the result that counts.
Re:Proposed New Go GC: Transaction-Oriented Collector by icholy on Friday June 24, 2016 @08:06PM (#11974452)
ofc, I was strictly speaking about the GC algorithm.
Re:Proposed New Go GC: Transaction-Oriented Collector by voidlogic on Friday June 24, 2016 @05:08PM (#11973492)
Fair enough, I was comparing the application + runtime interaction, basically I, app behavior.

>Java creates a lot more garbage.

Very true, Go is great about keeping things on the stack.

Also sync.Pool helps a lot when used as needed.

Re:Proposed New Go GC: Transaction-Oriented Collector by twic on Friday June 24, 2016 @06:41PM (#11974062)
Part of the reason for this is that Java GC development has focused more on throughput, whereas Go GC development has focused more on pause time. It's rather hard to compare throughput between two such different languages, though.