Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nromiun
on Aug 18, 2025
|
parent
|
context
|
favorite
| on:
Clojure Async Flow Guide
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?
didibus
on Aug 18, 2025
[–]
They can be OS threads or green threads, you can choose.
nromiun
on Aug 18, 2025
|
parent
[–]
Are OS threads still the default and you have to pass a virtual thread executor to use virtual threads?
puredanger
on Aug 18, 2025
|
root
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: