Skip to main content

Crate ristretto_jit

Crate ristretto_jit 

Source
Expand description

§Ristretto JIT

Code Coverage Benchmarks License Semantic Versioning

Ristretto JIT provides a Just-In-Time compiler for the Ristretto VM. The JIT compiler generates native code from Ristretto VM bytecode, allowing for high-performance execution directly on the host machine.

§Platform Support

The JIT compiler automatically adapts to the target platform:

  • Native platforms:
    • x86-64 (Intel/AMD 64-bit)
    • aarch64 (ARM 64-bit)
    • s390x (IBM Z Architecture)
    • riscv64 (RISC-V 64-bit)

§Limitations

Current limitations include:

  • Method invocation instructions (invokestatic, invokevirtual, invokespecial, invokeinterface, invokedynamic) are not yet supported

Structs§

Compiler
Java Virtual Machine (JVM) bytecode to native code compiler.
Function
A structure representing a native function from the JIT compiler

Enums§

Error
Errors that can occur during JIT compilation and execution.
Value

Type Aliases§

Result
Ristretto JIT result type