Any book recommendations with good coverage of core async? In particular, i’m looking for something that talks about non-blocking patterns for event producers. I think alt!
with :default
to process events in my main loop along with just <!
with a drop policy from the go block function is the pattern I want to use and should cause no blocking but since I’m a noob I’d like to learn a little more on proper patterns first.
surprisingly(?) reading the original CSP paper gave me a few ideas. It's a good read, but dense. The beginning may be hard to get through, but if you blink you might miss the implementation of objects using channels https://www.cs.cmu.edu/~crary/819-f09/Hoare78.pdf
thanks for the link, I’ll have a look.
This book covers basics: https://www.braveclojure.com/core-async/ Maybe this one, didn't read it: https://www.amazon.com/Clojure-Reactive-Programming-Asynchronous-Applications/dp/1783986662
You can also watch Go-lang concurrency patterns, a lot of presentations on YouTube.