3 ms·
I like go and erlang, but the title is a troll.. Nowhere in the presentation does it compare the pros and cons of the go approach to how erlang does things. So
by metabrew 15y ago
I like go and erlang, but the title is a troll.. Nowhere in the presentation does it compare the pros and cons of the go approach to how erlang does things.
Sometimes selective receive with erlang's pattern matching is really useful. How about erlang's supervision hierarchies and recovering from errors? Erlang's hot code upgrades on long-running systems to avoid any downtime?
Since go has/needs mutexes, it's laughable to say it's "erlang done right". It's nothing like erlang in that sense.
- mdwrigh2 15y agoI agree the title is misleading (I should also point out that this isn't my slide deck, but one done by Dmitry Vyukov). > Since go has/needs mutexes I'm not sure it's really fair to say Go needs mutexes, just that they are available for you if you need the performance.
- jlouis 15y agoOne funny thing is that the counting example has a really simple and very fast solution in Erlang. Shove the counter into an ETS table and use ets:update_counter as the call to manipulate it.