‹ BackHN Continuity

Thread

Go Concurrency Distilled

402 points · 187 comments · chmaynard

  1. SamInTheShell · · focus · HN ↗
    The concurrency and threading in Go just feels like magic compared to every other language. I'm a goroutine addict and I refuse to be rehabilitated.

    Just from observations over the years, I don't think there's any other language quite like this, in terms of how things can end up happening in any thread.

    1. bjoli · · focus · HN ↗
      Wait until you discover concurrentML. It lets you abstract away a lot of nasty protocol details over channels in a way that would be very hard in any CSP system.

      Green threads and channels are not anything new. They were all the hype back in the 80s, but the pthreads came and ruined the party. Then we rediscovered them in the 2000s.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.