logoalt Hacker News

Rikudouyesterday at 11:17 PM3 repliesview on HN

I think the Go part is missing a pretty important thing: the easiest concurrency model there is. Goroutines are one of the biggest reasons I even started with Go.


Replies

auxiliarymooseyesterday at 11:47 PM

Agreed. Rob Pike presented a good talk "Concurrency is not Parallelism" which explains the motivations behind Go's concurrency model: https://youtu.be/oV9rvDllKEg

Between the lack of "colored functions" and the simplicity of communicating with channels, I keep surprising myself with how (relatively) quick and easy it is to develop concurrent systems with correct behavior in Go.

show 1 reply
kibwentoday at 2:01 AM

I'll disagree with you there. Structured concurrency is the easiest concurrency model there is: https://vorpus.org/blog/notes-on-structured-concurrency-or-g...

show 1 reply
macintuxtoday at 1:07 AM

> the easiest concurrency model there is

Erlang programmers might disagree with you there.

show 1 reply