rusterlium/erlang_nif-sys
Low level bindings to Erlang NIF API for Rust
{ "createdAt": "2015-04-11T16:21:17Z", "defaultBranch": "master", "description": "Low level bindings to Erlang NIF API for Rust", "fullName": "rusterlium/erlang_nif-sys", "homepage": null, "language": "Rust", "name": "erlang_nif-sys", "pushedAt": "2023-12-29T13:03:19Z", "stargazersCount": 90, "topics": [ "erlang", "ffi", "nif", "rust" ], "updatedAt": "2025-08-26T22:46:27Z", "url": "https://github.com/rusterlium/erlang_nif-sys"}erlang_nif-sys
Section titled “erlang_nif-sys”This repo is no longer in use. This code is now maintained as part of the main [rustler]!(github.com/rusterlium/rustler) repo.
Section titled “This repo is no longer in use. This code is now maintained as part of the main [rustler]!(github.com/rusterlium/rustler) repo.”A crate for creating Erlang NIF modules in Rust. This crate exposes the raw C NIF API which can be used directly or as a foundation for higher layer interface crates. Supported under Unix and Windows.
See the crate documention.
See examples of use:
- rust.mk for a sample Rust NIF module.
- rebar3_rust a rebar3 plugin inspired by
rust.mkthat helps integrate Rust code inside Erlang projects. - Rustler
- rustfromerl a demo project showing performance differences between Erlang code and a simmilar Rust NIF implementation.
Thanks go to Radosław Szymczyszyn for bootstrapping me on this Rust FFI adventure and providing the original automatic bindings.