A work-in-progress lox π bytecode interpreter, written in Rust π¦.
"Drool" because crab stuffed salmon is an insanely decadent, guilty pleasure which produces this response.
This project likely won't do that, as it's my first foray into the language.
I'm trying to squeeze performance out of the VM, but am sacrificing a little for ergonomics in the dis/assembler, scanner and compiler.
It's possible that I'm losing a little juice through memory waste when decoding instructions in the VM. I think Rust should be able to understand through my inlining that the VM's use of the Op
struct is transient in release builds, but I'm not 100% sure. π’