News for hackers. Stuff that matters.
Re:Write Elixir NIFs in Rust by pjmlp on Sunday August 06, 2023 @06:12AM (#37020561)
Unless one can do like in Java,.NET and nodejs, package the libraries alongside the bindings, for all major target platforms.
Re:Write Elixir NIFs in Rust by impulser_ on Sunday August 06, 2023 @03:04PM (#37025394)
You can with Rustler using rustler precompiled. You write a workflow in GitHub that builds for all the supported targets and the precompiled library will download the correct one when a user downloads your library.