Java 21 VirtualThreads vs. Clojure Lazy Seqs

Welcome to the Clojure Deref, a weekly roundup of news and links related to the Clojure ecosystem. In recent news, Java 21 was released, sparking interest in the new virtual threads feature. However, virtual threads do not currently cooperate with object monitors, which can cause issues when performing blocking calls while holding a synchronized monitor. Lazy seqs and delay are two areas where this problem has arisen in Clojure. There are various options for addressing this issue, such as avoiding I/O under delay or lazy seqs and exploring alternative control mechanisms. The team is actively working on finding the best approach to tackle this problem. Additionally, there are updates on functional interface adapters, method thunks, and improvements to array class representation. In terms of new releases and tools, there are several interesting additions to the Clojure ecosystem this week.

https://clojure.org/news/2023/10/06/deref

To top