News for hackers. Stuff that matters.
Re:A four year plan for async Rust by samus on Tuesday November 07, 2023 @12:49PM (#38180198)
Loom is very new, and Java on the desktop is almost dead. Even though virtual threads could be useful for GUI programming, I don't expect significant innovation in that area. But the upcoming Structured Concurrency[0] and Scoped Values[1] JEPs make things hopefully easier.

[0]: https://openjdk.org/jeps/462

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

Re:A four year plan for async Rust by jayd16 on Tuesday November 07, 2023 @12:55PM (#38180291)
Structured concurrency looks good but is it really better than async syntax?
Re:A four year plan for async Rust by samus on Tuesday November 07, 2023 @01:05PM (#38180453)
I have to admit that async syntax has a certain charm, as it has deep connections to iterators. (I have to program with Unity for my master thesis). But Structured Concurrency leverages well-known blocking syntax that doesn't require further explanation. It's not even specific to virtual threads.