News for hackers. Stuff that matters.
Re:Actors, Green Threads and CSP on the JVM by MCRed on Wednesday September 03, 2014 @10:28AM (#8263140)
Right, and when you "drop down to a lower level" to get more performance, the entire house of cards comes crashing down with bugs that are extremely difficult to debug.

The issue isn't actor model on a virtual machine-- erlang runs on a VM-- the issue is that the actor model is insufficient. You need pretty much most of OTP to build reliable, stable, concurrent systems.

This is why goroutines, everything on the JVM, etc are not going to work.

The sad thing is, I think the primary reason people are not using Erlang is they are afraid of the syntax, but even that reason is obliterated by the existence of Elixir (an even better language on the erlang VM)

Re:Actors, Green Threads and CSP on the JVM by gilbertw1 on Wednesday September 03, 2014 @10:39AM (#8263191)
What do you mean by:

"This is why goroutines, everything on the JVM, etc are not going to work."

I've used Akka very successfully on the JVM for non-trivial clustered applications where performance is important, and I'm pretty sure the existence of most of google's infrastructure says that goroutines work at least a little bit.

Do you mean not work well? They won't gain traction?

Re:Actors, Green Threads and CSP on the JVM by jeremyjh on Wednesday September 03, 2014 @11:13AM (#8263380)
For example, Go has no means of monitoring or linking to it's goroutines; without supervision trees the Erlang model for resiliency cannot be implemented.