Fork me on GitHub
#core-async
<
2020-04-26
>
David Reno16:04:45

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.

Ben Sless18:04:18

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

David Reno19:04:29

thanks for the link, I’ll have a look.

nikolavojicic22:04:20

You can also watch Go-lang concurrency patterns, a lot of presentations on YouTube.