News for hackers. Stuff that matters.
Re:Unix "find" expressions compiled to bytecode by drob518 on Friday December 26, 2025 @04:07PM (#46396275)
If it was easier to interpret byte codes, nobody would use a tree-walk interpreter. There’s no performance reason to use a tree-walk interpreter. They all do it because it’s easy. You basically already have the expression in tree form, regardless of where you end up. So, stop processing the tree and just interpret it.
Re:Unix "find" expressions compiled to bytecode by Someone on Saturday December 27, 2025 @03:52AM (#46400278)
> If it was easier to interpret byte codes

I’m not claiming anything, certainly not that; I’m questioning whether the additional complexity of designing a bytecode VM is worth it because it makes testing easier.