‹ 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. za3faran · · focus · HN ↗
      Java is doing it better (virtual threads + structured concurrency + immutable records and immutable value types).

      Not to mention golang is not memory safe: <a href="https:&#x2F;&#x2F;www.ralfj.de&#x2F;blog&#x2F;2025&#x2F;07&#x2F;24&#x2F;memory-safety.html" rel="nofollow">https:&#x2F;&#x2F;www.ralfj.de&#x2F;blog&#x2F;2025&#x2F;07&#x2F;24&#x2F;memory-safety.html

      1. SamInTheShell · · focus · HN ↗
        I don&#x27;t think you understand the threading concurrency topic. Also memory safety is so far off base here, where&#x27;s that coming from? Java does some stuff okay, but do you really want to defend the horrid JVM problems? Also why can&#x27;t I have my memory back when it&#x27;s not in use in tightly packed systems?

        It&#x27;s not great for everything and neither is Go. You can find a bit more context on that in some of the other threads.

        1. gf000 · · focus · HN ↗
          &gt; defend the horrid JVM problems

          Such as? It&#x27;s one of the most widely used platform for backend services, basically almost all top 500 company has some business critical infrastructure running Java. It surely can&#x27;t have &quot;too horrid&quot; problems..

          1. jeremyjh · · focus · HN ↗
            The JVM is awesome. The only problem with Java is all of the Java code that has ever been written.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.