3 ms·
Yes but Java is not Haskell. If you want a monadic IO on the JVM, Scala offers two ecosystems with extremely capable effect systems, providing highly performan
by hocuspocus 3y ago
Yes but Java is not Haskell.
If you want a monadic IO on the JVM, Scala offers two ecosystems with extremely capable effect systems, providing highly performant runtimes and good (but not perfect) ergonomics.
I've always found async/await bolted on older, mostly imperative OO languages with exceptions to be pretty disappointing. Even modern designs on languages with proper error handling like Rust get their fair share of criticism.
I get that virtual threads will probably introduce surprising bugs and performance issues in some corner cases. But it also removes a whole lot of craziness in the Java ecosystem, namely reactive programming.
- deleted 3y ago[deleted]