3 ms·
Legitimate question: is there anything Elixir / BEAM is particularly bad at? I've seen it start cropping up in some Fintech circles so I'm wondering if this la
by no_wizard 3y ago
Legitimate question: is there anything Elixir / BEAM is particularly bad at?
I've seen it start cropping up in some Fintech circles so I'm wondering if this language has some serious juice for concurrent data analysis or something.
- ashton314 3y agoAny algorithm that needs mutable data to be performant would be a bad fit. Numerical number crunching isn’t stellar either. That said, there are ways to extend the BEAM with C or Rust code to make those areas performant. I’ve written one such extension (called a NIF; forget what it stands for exactly) and it wasn’t all that hard.
- HalcyonicStorm 3y agoIt is historically not great at number computing. This is being addressed by a relatively new project called Nx. https://github.com/elixir-nx/nx https://github.com/elixir-nx/nx It is not the right choice for CPU intensive tasks like graphics, HFT, etc. Some companies have used Rust to write native extensions for those kinds of problems. https://discord.com/blog/using-rust-to-scale-elixir-for-11-million-concurrent-users https://discord.com/blog/using-rust-to-scale-elixir-for-11-m...