aivm 0.2.0

Artificial intelligence that embraces the hardware it runs on.
Documentation

Artificial intelligence that embraces the hardware it runs on.

Instead of relying on huge matrix multiplications and non-linear activation functions, AIVM uses a virtual machine with trainable code to directly drive its decision making. The code can be compiled into native machine code, removing an expensive layer of abstraction from typical artificial intelligence agents.

Quick start

use aivm::{codegen, Compiler, Runner};

let gen = codegen::Interpreter::new();
let mut compiler = Compiler::new(gen);

// TODO: train code and memory to make it do something useful.
let code = [0; 16];
let memory = vec![0; 4];
let mut runner = compiler.compile(&code, memory);

runner.step();