4 ms·
I used to love to idea of a global interpretator and/or a single thread (coding without concurrency). It was great until it wasn't. Learning Elixir helped me
by amorphid 9y ago
I used to love to idea of a global interpretator and/or a single thread (coding without concurrency). It was great until it wasn't. Learning Elixir helped me get over that.
- dboreham 9y agoThe thing is : it isn't an "idea" at all. These projects ended up with a big lock, or not tolerating reentrancy due to history -- they were developed at a time, and in an environment where there were no threads (or where support for threads wasn't of interest to the developer). It's just a bug. Not an idea, not a benefit. All the talk of it being the best way is nonsense invented after the fact to try to justify something that's just broken.
- specialist 9y agoYa, my next green field project will definitely use something actor or CSP flavored. Maybe clojure based, more likely Elixir or equiv.
- defined 9y agoI'm an Erlang practitioner since 2007 and I approve this message ;) Learn Elixir or Erlang and show that there's an alternative to Node.js that's both fun and powerful - and battle tested.