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.
Re-exports§
pub use native::actor::Actor;pub use native::actor::ActorContext;pub use native::actor::ActorError;pub use native::actor::ActorMessage;pub use native::actor::ActorRef;pub use native::actor::SenderHandle;pub use native::actor::spawn_actor;pub use native::actor::CallFuture;pub use native::actor::CoopActorRef;pub use native::actor::CoopSenderHandle;pub use native::actor::spawn_actor_cooperative;pub use native::actor::DynActor;pub use native::actor::ReplyFn;pub use native::actor::WireTerm;pub use native::native_process::NativeContext;pub use native::native_process::NativeHandler;pub use native::native_process::NativeOutcome;
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.
- io_sink
- The output-sink seam shared by both scheduler closures (WPORT-5 R2).
- 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.