3 ms·
It certainly seems to be rarely used. It's interesting to look at the concurrency stuff in Clojure and its uptake: - Atoms: very popular. Usually what people r
by mullr 6y ago
It certainly seems to be rarely used. It's interesting to look at the concurrency stuff in Clojure and its uptake:
- Atoms: very popular. Usually what people reach for, perhaps overly so.
- STM / refs: Not commonly used, but I wonder if this is because we aren't used to really considering them as an option?
- Agents: I think everybody agrees that you shouldn't use these
- core.async: What many people think you should use instead
- Reducers: I've never seen these used in the wild.
- minikomi 6y agoThere's also pmap which is amazing, manifold & it's little deferred/event-ish universe.. Both have their place!
- wtetzner 6y ago> Atoms: very popular. Usually what people reach for, perhaps overly so. Having written Clojure professionally, and then moved on to Java (not intentionally, just kinda happened), I find myself using the same pattern in Java. AtomicReference + pcollections, along with Lombok's @Value is enough to get some pretty Clojurey concurrency patterns in Java.