News for hackers. Stuff that matters.
Re:Go 1.19 Beta 1 is released by morelisp on Saturday June 11, 2022 @03:51AM (#31702755)
I don't think virtual threads will be fully baked in time for production use at Java 19. IMO we'll be waiting at least one and probably two more releases.

Valhalla has also produced an amount of language machinery that results in most of the same issues as Go. (E.g. "is this function receiving an interface or concrete value?" becomes "do I have a class, value class, or primitive class?") The performance ripples of requiring value objects to be immutable also remains to be seen.

Re:Go 1.19 Beta 1 is released by jpgvm on Saturday June 11, 2022 @05:49AM (#31703253)
True. I intend to start using them the moment they land in preview but there is still some caveats (namely how they interact with synchronized).

I think by Java 21 they will be rock solid though which isn't really that far away in Java timescales.

Re:Go 1.19 Beta 1 is released by morelisp on Saturday June 11, 2022 @07:13AM (#31703637)
Sure, but by Java 21 we'll have Go 1.21 with a couple release cycles to push generics into stdlib, and we're back to more or less useless debates about aesthetic preferences and tooling priorities again.
Re:Go 1.19 Beta 1 is released by kaba0 on Saturday June 11, 2022 @07:00AM (#31703567)
Aren’t they in preview in 19 already?
Re:Go 1.19 Beta 1 is released by jpgvm on Saturday June 11, 2022 @09:12AM (#31704202)
Yes technically as they have been merged but 19 isn't out until September, you can download early-access builds today but we won't see a release build until the official release date.
Re:Go 1.19 Beta 1 is released by kaba0 on Saturday June 11, 2022 @07:00AM (#31703564)
> The performance ripples of requiring value objects to be immutable also remains to be seen

Immutability is trivial to optimize away.