News for hackers. Stuff that matters.
Re:"100% of our production system is now running Go" by pkulak on Friday August 31, 2012 @12:39AM (#4458285)
How's the garbage collector these days for Go? Is it close to the performance of the Java GC?
Re:"100% of our production system is now running Go" by Evbn on Friday August 31, 2012 @01:33AM (#4458413)
It's not as sophisticated, but Go structs are smaller than similar Java objects, so that helps beat the tradeoff
Re:"100% of our production system is now running Go" by danieldk on Friday August 31, 2012 @03:04AM (#4458625)
I like Go, but this is total nonsense. It does help that you can embed values in a struct, rather than using pointers. But marking everything that looks like a pointer is not efficient. Not having generations does not help.

Go is still very young, a better GC will come, just give it time. In the meanwhile, let's not pretend that the current sub-par generator is as performant as that of modern JVMs.

Re:"100% of our production system is now running Go" by luriel on Friday August 31, 2012 @05:19AM (#4458919)
Go code does produce considerably less garbage than Java code.

And with Go if you really care, you can be even more careful and produce close to no garbage.

Control over memory layout is really useful.

Re:"100% of our production system is now running Go" by chc on Friday August 31, 2012 @01:53PM (#4460832)
AFAIK, Go does not "mark everything that looks like a pointer." My understanding is that in some specific situations, the Go GC is not precise enough to distinguish between a pointer and an integer that happens to have the same value as that pointer, but I don't think it's right to say it does that all the time. Do you have evidence that it does?
Re:"100% of our production system is now running Go" by batista on Friday August 31, 2012 @01:39AM (#4458431)
No, still the same old one. Improvements are supposedly coming though (though, they were coming 2 years ago also).
Re:"100% of our production system is now running Go" by luriel on Friday August 31, 2012 @05:18AM (#4458916)
There have been many improvements to the GC over the last two years, and many more are coming in Go 1.1.

GC is an area where always there is room for improvement, no matter how much you work at it.