News for hackers. Stuff that matters.
Re:Go hits the concurrency nail on the head by tmerr on Saturday October 06, 2018 @12:08AM (#18153482)
>Look back at this again if golang adds generics and other features that will change how code in it is written.

Absolutely. I was surprised by the number of proposed changes in Go 2, especially regarding error handling. Curious whether old code will be migrated or left behind.

>That's not an issue with Java, but how the GC is tuned

Good point, I haven't done much GC tweaking personally but that sounds worth learning more about. However I think language might have something to do with it: In Java almost everything is a referenceable object, while in Go one can put values directly inside structs. So Go has less work to do. Without that advantage I doubt it would seem competitive with Java GCs.

Re:Go hits the concurrency nail on the head by apta on Sunday October 07, 2018 @03:26PM (#18162207)
Java will be getting value types in an upcoming version. C# already has value types (called structs). The JVM also does escape analysis to avoid heap allocation when it can.