r/Protos • u/guillermoamolina • 12h ago
Announcement Adding a bytecode instruction that disappears during partial evaluation
Can adding a bytecode instruction actually simplify a runtime without adding residual work to compiled execution?
Protos now uses generated Truffle lexical ranges instead of manually constructed accessors, preserving live execution contexts, mutable captures and debugger visibility.
The interesting part is what happens during Graal partial evaluation: both Tier 1 and Tier 2 compilation graphs show that the publication operation disappears entirely in the tested method.
This also removes an identified obstacle to bytecode serialization.
How should reflective execution contexts coexist with highly optimized local variable access?
Website: https://protoslang.com
Source code: https://github.com/guillermomolina/protos