4 ms·
I find this interesting, but a bit too complex. As a hardcore JavaScript programmer I make use of clusters or spawn child process to handle "actors" and I thin
by z3t4 11y ago
I find this interesting, but a bit too complex.
As a hardcore JavaScript programmer I make use of clusters or spawn child process to handle "actors" and I think that is much easier to reason about.
I would be happy if Pony had some examples of how to manage "world" state. For example if two objects in a 2D world intersects, or when one actor fires a laser, decide if another actor was hit by it.
I'm writing server code for MMO's and it seems like Erlang, Pony, etc would be the magic tool for such systems, but I never seem to "get it".
- fenollp 11y agoErlang is far from "a bit too complex": it's just not. What is difficult from devs coming from the imperative world is getting recursion & bind-variables-only-once (what is commonly known as "the syntax is ugly"). Please, have a look at http://learnyousomeerlang.com/content http://learnyousomeerlang.com/content