rusterlium/erlang_nif-sys

Low level bindings to Erlang NIF API for Rust

Rust

90

143 commits

updated Dec 29, 2023

See the code

README

erlang_nif-sys

Docs Build Status Build status

This repo is no longer in use. This code is now maintained as part of the main 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.mk that 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.

erlang
ffi
nif
rust

Contributors

goertzenator

126 commits

hansihe

7 commits

jorendorff

5 commits

tatsuya6502

2 commits

rusterlium/erlang_nif-sys

Low level bindings to Erlang NIF API for Rust

Rust

90

143 commits

updated Dec 29, 2023

See the code

README

erlang_nif-sys

Docs Build Status Build status

This repo is no longer in use. This code is now maintained as part of the main 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.mk that 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.

erlang
ffi
nif
rust

Contributors

goertzenator

126 commits

hansihe

7 commits

jorendorff

5 commits

tatsuya6502

2 commits

Languages

Rust

57.4%

Erlang

42.0%