package
0.0.0-20191203030451-05c0e0f7eaea
Repository: https://github.com/perlin-network/life.git
Documentation: pkg.go.dev

# Functions

NewModule instantiates a module for a given WebAssembly module, with specific execution options specified under a VMConfig, and a WebAssembly module import resolver.
NewVirtualMachine instantiates a virtual machine for a given WebAssembly module, with specific execution options specified under a VMConfig, and a WebAssembly module import resolver.

# Constants

DefaultCallStackSize is the default call stack size.
DefaultPageSize is the linear memory page size.
JITCodeSizeThreshold is the lower-bound code size threshold for the JIT compiler.

# Variables

LE is a simple alias to `binary.LittleEndian`.

# Structs

Frame represents a call frame.
NopResolver is a nil WebAssembly module import resolver.
VirtualMachine is a WebAssembly execution environment.
VMConfig denotes a set of options passed to a single VirtualMachine insta.ce.

# Interfaces

ImportResolver is an interface for allowing one to define imports to WebAssembly modules ran under a single VirtualMachine instance.

# Type aliases