
Systesign
January 31, 2025 at 08:52 AM
https://www.chriis.dev/opinion/parsing-pdfs-in-elixir-using-rust
Calling core Rust code that plays nicely with the Elixir BEAM needs NIF (Native Implemented Functions). NIFs are the BEAM's method to directly call Native Functions such as those written in Rust, giving you the performance benefit of Rust without sacrificing the ease of use of Elixir using the rustler crate https://crates.io/crates/rustler
Fly.io's blog also explores packaging rust object files within elixir projects for production docker images https://fly.io/phoenix-files/elixir-and-rust-is-a-good-mix/
👍
😮
💨
🙌
7