Re:Java 21 VirtualThreads vs. Clojure Lazy Seqs (from Clojur...
by avodonosov on Monday October 09, 2023 @07:14AM
(#37819143)
Thanks, that's convincing.
(why I was in doubt, is because while immutable functional collections that clojure embaces are naturally thread-safe, there is an imperative aspect in creation of a lazy sequence from user provided function, and I was not sure clojure has to provide synchronization guarantees here)
(why I was in doubt, is because while immutable functional collections that clojure embaces are naturally thread-safe, there is an imperative aspect in creation of a lazy sequence from user provided function, and I was not sure clojure has to provide synchronization guarantees here)