Erlang. Safe optimization with NIF on Rust

Maxim Molchanov
Sep 7, 2018 · 5 min read

Language choice

Implementation

An overview of existing solutions in Rust

Rustler

{pre_hooks, [{"(linux|darwin|solaris|freebsd)", compile, "sh -c \"cd crates/bloom && cargo build && cp target/debug/libbloom.so ../../priv/\""}]}
{pre_hooks, [{"(linux|darwin|solaris|freebsd)", compile, "sh -c \"cd crates/bloom && cargo build --release && cp target/release/libbloom.so ../../priv/\""}]}

Bloom’s filter

Erlang

Results

Maxim Molchanov

Written by

Senior Software Engineer at vonmo.com, MS, PGCHE

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade