News for hackers. Stuff that matters.
Re:Java 21 makes me like Java again by zaphirplane on Saturday September 16, 2023 @07:50PM (#37540010)
The go example is missing the channels, select, wait group, context, cancellation

Doesn’t sound like a fair comparison thou the Java version is missing things

Re:Java 21 makes me like Java again by insanitybit on Sunday September 17, 2023 @12:03AM (#37541414)
> The go example is missing the channels, select, wait group, context, cancellation

The Java version would require all of those in the exact same way though.

Re:Java 21 makes me like Java again by za3faran on Sunday September 17, 2023 @04:06AM (#37542670)
Java has structured concurrency in the works, which will not be much more verbose, unlike golang.