Here's the state of my journey with ports with Rust and Elixir:
I can get Nifs to work fairly well, however I understand the disadvantages.
However, getting ports to work has been a bit of a nightmare because help is sparse.
I finally got to the point where I think I'm close, but not there yet.
Using Rustler, I can get the linking to work and point to the .so (driver) compiled file.
I can then attempt to load the driver using :erl_ddll.load("path/to/so", :soname). But, I get the error from erlang that "No driver init in dynamic library."
Is there anyone out there that can help me out with fixing that?