Re:Java 21 Released
by kaba0 on Tuesday September 19, 2023 @12:42PM
(#37572565)
Well, JS is paired with a single-threaded execution model, so you only have concurrency to worry about. C#, Java has proper multithreading as well, that gives another dimension to the problem.
[ Parent
| on HN ]
Kotlin has multithreading, and it also puts `suspend` in the type system.
Some more examples: Rust, Python (with most/all? type checkers), C# all bake this into their type systems.