Skip to content

Prepare Prometheus v0.3 - #249

Merged
levno-710 merged 8 commits into
masterfrom
v0.3-real-vm
Oct 27, 2026
Merged

levno-710 merged 8 commits into
masterfrom
v0.3-real-vm

Conversation

@levno-710

Copy link
Copy Markdown
Member

Vmify now compiles Lua into register instructions executed by a generated interpreter, giving Prometheus v0.3 a real VM. The previous control-flow flattening implementation is available as Cff.

Opcode IDs and operand layouts are randomized. The interpreter uses a balanced dispatcher, with optimizations for assignments, calls, and register cleanup. Medium applies Cff to surrounding helpers while excluding the VM and prototype tables.

@levno-710
levno-710 merged commit 1f9f6fd into master Oct 27, 2026
1 check passed
@levno-710
levno-710 deleted the v0.3-real-vm branch October 27, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant