Skip to main content

Crate beamr

Crate beamr 

Source
Expand description

Beamr — a Rust runtime with the BEAM’s execution model.

Loads .beam bytecode produced by the Gleam toolchain (via erlc) and executes it with preemptive scheduling, per-process isolation, supervision primitives, and a native function interface.

Modules§

atom
capability
Capability facades for configuring runtime authority.
constant_pool
Per-module constant pool for decoded BEAM literals.
distribution
Distribution identity primitives, node resolution, and connection management.
error
Crate-wide error types for beamr.
etf
External term format (ETF) encoding and runtime decoding support.
ets
Erlang Term Storage registry, metadata, and lifecycle support.
gc
Garbage collection — each process cleans its own room.
hook
Reduction-boundary hook — the bit that’s ours.
interpreter
The interpreter — the execution loop and heartbeat of fairness.
io
Configurable output sinks and resource lifecycle support used by I/O BIFs.
jit
JIT compilation infrastructure.
loader
.beam file loader — the front door.
mailbox
Messages and mailboxes — the only way processes touch.
module
Module registry — dual-version.
namespace
Namespace identifiers for scheduler-scoped module registries.
native
Native function interface — how Gleam reaches into Rust.
process
Process — the unit of life and isolation.
replay
Deterministic replay support.
scheduler
supervision
Supervision — links, monitors, and letting it crash.
term
Term representation — what all data is made of.
timer
Timer wheel for one-shot timeouts.