News for hackers. Stuff that matters.
Re:Java 21 VirtualThreads vs. Clojure Lazy Seqs (from Clojur... by Alupis on Friday October 06, 2023 @06:43PM (#37797284)
The issue with these new structures is they're necessarily clunky, to maintain interoperability with non-modern Java. Java's backwards compatibility is legendary, but is also why some of it's newer features are often criticized as not being as good as they could be.
Re:Java 21 VirtualThreads vs. Clojure Lazy Seqs (from Clojur... by sitta on Friday October 06, 2023 @07:16PM (#37797539)
It's one thing to say, "very little has been added between Java 8 and Java 21," and something else entirely to say, "newer features are often criticized as not being as good as they could be [to maintain backwards compatibility]."
Re:Java 21 VirtualThreads vs. Clojure Lazy Seqs (from Clojur... by kaba0 on Saturday October 07, 2023 @03:06AM (#37799658)
I don’t think any of then is clunky - hell, pattern matching is straight better in java.