News for hackers. Stuff that matters.
Re:Rust – A hard decision pays off by brightball on Wednesday August 24, 2022 @11:18AM (#32580544)
That’s why Elixir developers like to make NIF callouts with Rust. It’s dangerous to do anything outside of the BEAM but Rust negates all of those concerns.
Re:Rust – A hard decision pays off by Xorlev on Wednesday August 24, 2022 @11:30AM (#32580714)
Maybe not all concerns, you're still allocating memory outside of BEAM and you still need to be careful to yield control on longer-running NIFs.
Re:Rust – A hard decision pays off by johnisgood on Wednesday August 24, 2022 @12:00PM (#32581215)
Is it possible to use Ada instead of Rust?
Re:Rust – A hard decision pays off by brightball on Wednesday August 24, 2022 @01:32PM (#32582825)
I believe you can made a NIF with just about anything.
Re:Rust – A hard decision pays off by johnisgood on Wednesday August 24, 2022 @06:41PM (#32586783)
I wonder if there are any examples though. Would be helpful. I suppose I could just make Ada bindings.