On Wed, Nov 10, 2021 at 8:13 AM Tim Starling <tstarling@wikimedia.org>
wrote:
> What are VM kinds for? Are they just a prototyping tool to allow
> different implementation strategies to be benchmarked? Or are they
> permanent? Does anyone use them?
>
> I ask because I'm working on a VM bug, and non-default VM kinds make
> already complex code even more complex and harder to edit.
>
> -- Tim Starling
>
I don't think anyone uses them, and the GOTO/SWITCH VMs receive little
testing in practice (we don't use them in CI), and I believe they're not
supported by the JIT either. Personally, I would be fine with simply
dropping them, as they do add additional maintenance burden without any
apparent benefit. Maybe Dmitry has some thoughts on this.
Regards,
Nikita