2 ms·
For the limited number of mathy things I've done in Elixir, performance has been pretty terribly. Ruby is a bigger language which means it's more likely to have
by regulation_d 10y ago
For the limited number of mathy things I've done in Elixir, performance has been pretty terribly. Ruby is a bigger language which means it's more likely to have C binding for things like generating prime numbers, for example.
Fortunately, Rustler is making adding safe native extensions much easier. https://github.com/ddresselhaus/primal_ex https://github.com/ddresselhaus/primal_ex is a little toy library I wrote to leverage a really excellent Primal Rust library. I'm excited about the possibilities Rustler brings to the table.