Skip to main content

Crate stator_jse

Crate stator_jse 

Source
Expand description

stator_jse — the foundational engine library for the Stator JavaScript engine.

§Crate layout

Modules§

builtins
Built-in JavaScript object static methods (Object, Promise, …). Built-in JavaScript objects and their static methods.
bytecode
Bytecode instruction set and encode/decode utilities. Bytecode module: instruction set and encoding for the Stator VM.
compiler
JIT compiler infrastructure: baseline code generator and macro-assembler. Compiler infrastructure for the Stator JIT.
dom
DOM integration layer: object wrapping, property interceptors, internal fields, and weak references for bridging the JS engine with web platform APIs. DOM integration layer for bridging Stator JS engine with web platform APIs.
error
Engine error types and [StatorResult] alias. Error types for the Stator engine.
event_loop
Event loop integration: macrotask scheduling, timer management, and microtask queue draining for embedder coordination. Event loop integration layer.
executable_memory
Cross-platform abstraction for allocating, populating, and releasing W^X executable memory regions used by the baseline and Maglev JIT tiers. Cross-platform abstraction for allocating, populating, and releasing the executable memory regions used by Stator’s baseline and Maglev JIT tiers.
ffi
V8-compatible FFI wrapper types (V8Object, V8Array, V8Number, etc.). V8-compatible FFI wrapper types for the Stator JavaScript engine.
gc
Garbage collector infrastructure: heap, tracing, and handle scopes.
ic
Inline-cache runtime: property load/store fast paths and call-site tracking. Inline-cache (IC) runtime for the Stator VM.
inspector
Chrome DevTools Protocol (CDP) WebSocket inspector server and sampling CPU profiler. Chrome DevTools Protocol (CDP) inspector interface.
interpreter
Bytecode interpreter: fetch-decode-dispatch loop and activation frame. Bytecode interpreter for the Stator VM.
objects
JavaScript value representation and heap object types.
parser
JavaScript parser infrastructure (lexer and AST node definitions). JavaScript parser infrastructure.
platform
Platform abstraction for embedder-provided task scheduling and timing. Platform abstraction: exposes engine hooks (task scheduling, timers) for embedder customisation.
sandbox
Memory sandbox: virtual-address range reservation, pointer bounds checking, and external pointer table for non-sandbox memory. Memory sandbox for Stator heap isolation.
snapshot
Startup snapshot: binary serialization and deserialization of heap state. Startup snapshot — binary serialization and deserialization of heap state.
wasm
WebAssembly backend: engine, module, and instance wrappers (Wasmtime). WebAssembly backend for the Stator engine.
zone
Bump-pointer region allocator for compiler temporaries. Zone allocator for compiler temporaries.