Rust Native Code in Elixir and Erlang: NIFs, Dirty Schedulers, Ports, and Supervision
A practical two-hour session on Rust Native Code in Elixir and Erlang, focused on NIFs, Dirty Schedulers, Ports, and Supervision. The session treats Rust as a native component exposed through C-compatible boundaries, with attention to packaging, ownership, host-runtime tests, and failure handling.
Description
section.descriptionA practical two-hour session on Rust Native Code in Elixir and Erlang, focused on NIFs, Dirty Schedulers, Ports, and Supervision. The session treats Rust as a native component exposed through C-compatible boundaries, with attention to packaging, ownership, host-runtime tests, and failure handling.
Audience: entry-level and intermediate developers who want a practical engineering session, not a language tour.
Outcomes:
- Explain the practical boundaries of Rust Native Code in Elixir and Erlang
- Apply NIFs in a small working example
- Apply Dirty Schedulers in a small working example
- Apply Ports in a small working example
Format: two hours with a short framing walkthrough, a concrete example, discussion of tradeoffs, and a closing checklist for practice.