News for hackers. Stuff that matters.
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.