News for hackers. Stuff that matters.
Re:Python has had async for 10 years – why isn't it more pop... by JackSlateur on Tuesday September 02, 2025 @01:56PM (#45106684)
green thread have pitfalls too, like this: https://news.ycombinator.com/item?id=39008026
Re:Python has had async for 10 years – why isn't it more pop... by kasperni on Tuesday September 02, 2025 @02:27PM (#45107095)
This was a known issue and was fixed in Java 24 [1].

[1] https://openjdk.org/jeps/491

Re:Python has had async for 10 years – why isn't it more pop... by ronsor on Tuesday September 02, 2025 @02:03PM (#45106788)
This doesn't look like a problem with green threads so much as it is a problem with Java's implementation of them. Of course, Java is known for having problems with its implementations of many different things, such as sandboxing; this isn't special.
Re:Python has had async for 10 years – why isn't it more pop... by hueho on Tuesday September 02, 2025 @04:23PM (#45108514)
FWIW this was largely fixed in 24 (I think there are still some edge cases relating to FFI functionality), and the 25 LTS should be coming this month.