Yeah elixir is fine as the ‘host’ language, just like flutter is fine as the ‘host’ language, but neither really work as linked in things, like how rust is being used here (and rust is just kind of great at everything).
If you want to use the same code on many many systems like that then you will either be using a native language (like rust, which I recommend, the error messages are utterly fantastic and it has a vast ecosystem now that’s still rapidly growing), or something that compiles down to native code (java or .NET have conversion tools for that but they aren’t very clean, Kotlin is better as it can natively compile to native code but still not as ‘clean’ or usable from other systems).