3 ms·
This discussion is going in circles. Fast at what? From what I read, Elixir is very fast at I/O based tasks, especially when there is lots of blocking involve
by davedx 10y ago
This discussion is going in circles.
Fast at what?
From what I read, Elixir is very fast at I/O based tasks, especially when there is lots of blocking involved. For example orchestration layers that push data between various API's and/or handle many concurrent connections.
Languages that compile to the JVM like Scala or Clojure (or Java of course) will probably be faster for computation.
I see Elixir as being suitable for the same category of applications as nodejs.
- pmarreck 10y ago> I see Elixir as being suitable for the same category of applications as nodejs While being a hell of a lot saner. https://www.quora.com/How-is-Elixir-Phoenix-better-than-Node-js/answer/Peter-Marreck?__filter__=all&__nsrc__=1&__snid3__=593408976 https://www.quora.com/How-is-Elixir-Phoenix-better-than-Node...
- dozzie 10y ago> From what I read, Elixir is very fast at I/O based tasks, especially when there is lots of blocking involved. Now make two steps back and read this again. What you say is that Elixir is "very fast" when it comes to tasks when Elixir pretty much doesn't do anything, so it being fast or slow doesn't matter. Hardly a definition of "fast". But it is actually true for BEAM machine. It was never intended to be fast, it was intended for running many tasks at the same time (so that none of them starves others for any reason).
- deleted 10y ago[deleted]