I have been working on a project for writing safe NIFs in Rust. I feel like I have the rough details of the API sketched out, but there is still work to do. https://github.com/hansihe/Rustler
There are still some rough edges on it, and if you see any obvious improvements, I would be more than happy to take suggestions or push requests :)
Re:Announcing Rust 1.7
by thenewwazoo on Friday March 04, 2016 @01:46AM
(#11222402)
Holy shit I hadn't even thought about writing NIFs in Rust.
mind: blown.
For me it's become, "Anywhere I would use or have to directly interface with C; evaluate using Rust instead."