Guess I'll just go back to erlang.....

Did that, ended up writing more C for performance critical code than I thought.

Rust + Erlang/Elixir is a fantastic combo. Rust is safer than C, so there's a smaller risk that it ends up crashing and taking the entire VM with it. Rustler[0][1] makes the integration a breeze.

[0]: https://github.com/rusterlium/rustler

[1]: https://hexdocs.pm/rustler/readme.html