Repository navigation
v0.3
Prometheus v0.3: VM virtualization
- New VM:
Vmifynow compiles Lua into custom instructions executed by a generated interpreter, with randomized opcode IDs and operand layouts. - Updated presets:
MediumandStrongcombine VM virtualization with control flow flattening.Weakretains flattening without the VM. - Runtime optimizations: faster small calls and returns, fewer allocations, and improved register cleanup.
- Lua 5.1 fixes: corrected assignment behavior, discarded expression evaluation, negative zero, long string newlines, and unexpected environment lookups.
- Expanded documentation, benchmarks, and regression tests.
Migration: In custom configurations, replace Vmify with Cff to retain the previous control flow flattening behavior. Keep Vmify to use the new VM.
VM virtualization adds runtime overhead; benchmark your application when choosing a preset.