Skip to content

Latest commit

 

History

History
 
 

aot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Chicory AOT

Experimental Wasm -> JVM bytecode AOT engine.

To enable use the AotMachine factory when building the module:

// ...

import com.dylibso.chicory.wasm.Parser;
import com.dylibso.chicory.runtime.Instance;
import com.dylibso.chicory.aot.AotMachine;
// ...
var is = ClassLoader.getSystemClassLoader().getResourceAsStream("compiled/basic.c.wasm");
Instance.builder(Parser.parse(is)).withMachineFactory(AotMachine::new).build();