News for hackers. Stuff that matters.
Re:Clojure Async Flow Guide by nromiun on Sunday August 17, 2025 @11:36PM (#44937153)
This is cool. So basically you create a group of threads and you can treat them as one unit. Trio does something similar (structured concurrency) with async functions for Python. Are these OS threads or green threads?
Re:Clojure Async Flow Guide by didibus on Sunday August 17, 2025 @11:46PM (#44937216)
They can be OS threads or green threads, you can choose.
Re:Clojure Async Flow Guide by nromiun on Monday August 18, 2025 @12:20AM (#44937379)
Are OS threads still the default and you have to pass a virtual thread executor to use virtual threads?
Re:Clojure Async Flow Guide by puredanger on Monday August 18, 2025 @08:27AM (#44939822)
When you deploy a flow, you choose the workload type (:compute, :io, or :mixed) and the process will be deployed with the appropriate thread type.