News for hackers. Stuff that matters.
Re:Java 21 Released by kaba0 on Tuesday September 19, 2023 @06:26PM (#37577837)
But there is no point to it in this comparison if it can block a whole thread to itself - that can be done with java as well since forever.
Re:Java 21 Released by neonsunset on Tuesday September 19, 2023 @06:43PM (#37578069)
Blocking the thread with unawaited task.Result is an explicit choice which will be flagged by a warning by an IDE and when building, that this may not be what you intended.