Re:Larry Wall has approved renaming Perl 6 to Raku
by weff_ on Friday October 11, 2019 @08:43PM
(#21229698)
I heard so much about the actor model, I should really try it in its intended glory one day.
Re:Larry Wall has approved renaming Perl 6 to Raku
by lliamander on Friday October 11, 2019 @08:45PM
(#21229713)
It's a trip, and it took me a little while to wrap my head around. However, I now much prefer it to working with other concurrency abstractions (such as callbacks).
Some differences:
* You can actually write your whole application in Elixir, whereas I could not see doing that with PowerShell
* In Erlang/Elixir, instead of objects you have processes. Think of your application as a microservice architecture on steroids, using the Erlang RPC protocol as a means for inter-process communication.
Because each process just sends and receives messages, your script can just send messages to any of the processes that make up your application, as if they were your own service. All you have to do is connect to the remote application using the Erlang Distribution Protocol (to connect different runtimes over the network).