humberaquino
Re:Rustler is a library for writing Erlang NIFs in safe Rust code
on Monday September 16, 2019 @04:03PM (#20988021)
You can also use Erlang port to communicate with external processes: https://elixirschool.com/blog/til-ports/
NIFs should be used when ports performance is not acceptable.
About deciding between Elixir and Rust you will benefit from learning both as Elixir/Erlang are more suited for fault tolerant distributed systems and Rust aims at becoming a safer C++. Also, Rust + wasm opens up a great toolset to build faster frontend apps.
If you follow the Elixir path first you'll benefit of learning some Erlang as well.