Skip to main content

Module direct_native

Module direct_native 

Source
Expand description

Opt-in native-substrate execution for validated Hara bytecode.

The name of this compatibility module is retained for the public direct-native feature, but it is deliberately not a second Hara compiler. Hara source is compiled to crate::vm::Program and ordinary Hara functions execute in the bytecode VM. This module only owns the native execution boundary and its telemetry: canonical std.native.*, std.protocol.*, and Rust-owned evaluator primitives are invoked by the VM as Rust callouts. The optional Cranelift tracing tier remains attached to the VM’s real basic-loop path through crate::jit.

Structs§

NativeEngine
A reusable native-substrate runtime boundary.
NativeExecutionReport
The result of one native-substrate execution.
NativeExecutionTelemetry
Cumulative native-substrate counters for a reusable runtime owner.