Skip to main content

Module module_bindings

Module module_bindings 

Source
Expand description

Module Binding Registry - Single source of truth for module binding values

This module provides a unified module binding registry that is shared between the interpreter, VM, and (future) JIT compiler. All module binding values (functions, constants, imported symbols) live here.

Design goals:

  • Name → index mapping for fast compilation
  • Index → value for O(1) runtime access
  • Stable memory addresses for JIT compilation
  • Thread-safe access via RwLock

Structs§

ModuleBindingRegistry
Single source of truth for all module binding values.