News for hackers. Stuff that matters.
Re:Ask HN: Why isn't Erlang more popular? by pjmlp on Friday February 21, 2014 @04:36PM (#7279588)
> I wouldn't be surprised by this. Go's concurrency pattern is fantastic

Only for those not versed in java.util.concurrent, TPL, PPL, TBB, Cilk Plus.

Re:Ask HN: Why isn't Erlang more popular? by kinofcain on Friday February 21, 2014 @06:44PM (#7280225)
java.util.concurrent doesn't have a convenient mechanism for "selecting" across available channels/queues without blocking. This is a key feature of erlang and go. There are ways to simulate it, but it's not the same thing. (I'd love to be wrong about this).
Re:Ask HN: Why isn't Erlang more popular? by pjmlp on Saturday February 22, 2014 @01:45AM (#7281208)
Yes, you need to peek() the queues, so it is not really being blocked on select like Go.

But then, one can use something like Akka, which I forgot to mention, and still be on the JVM.

Re:Ask HN: Why isn't Erlang more popular? by voidlogic on Saturday February 22, 2014 @09:33AM (#7282130)
>so it is not really being blocked on select like Go.

Select in Go only blocks if you don't feel out the "default:" case...

  select {
     case: foo := <-fooCh
       fmt.Printf("got %v\n", foo)
     default:
       fmt.Println("got nothing")
  }
Re:Ask HN: Why isn't Erlang more popular? by lacker on Saturday February 22, 2014 @09:29PM (#7284663)
"Those not versed in Cilk Plus" is a pretty large set