5 ms·
For sure; Elixir comes with a whole new architecture as well, and they COULD have gained a significant performance improvement if they rewrote / re-architected
by Cthulhu_ 3y ago
For sure; Elixir comes with a whole new architecture as well, and they COULD have gained a significant performance improvement if they rewrote / re-architected it in Python.
However, could they have done a 50x performance improvement in Python? And what about the other numbers, like speed and concurrency?
That said, I'm confident they crunched the numbers and did the tradeoffs; after all, adding another language and/or architecture will make your company more complex, makes hiring more complex.
- __alexs 3y ago> I'm confident they crunched the numbers and did the tradeoffs; Here is the math they did. Pros: Looks good in my promotion packet. Cons: Need a bigger garage to fit all of these new sports cars.
- sergioisidoro 3y agoDepends. Were they already using gunicorn? What about cPython? Was the code written by a junior developer without much consideration for memorization and dictionary access? And sure, you can get some performance improvements by rewriting things in those languages, at the expense of losing the entire python open source environment. So I would need way more information about the previous system to take this even remotely seriously. Python scales quite reasonably for most small to medium companies.
- hinkley 3y agoThey would have had to create a bad implementation of half of Erlang to accomplish it. Or you could just fuckin' use Elixir.