3 ms·
Stack machines must be converted to register machines anyway before you can perform most useful optimizations to it, which is linear time or worse, and the pr
by DannyBee 4y ago
Stack machines must be converted to register machines anyway before you can perform most useful optimizations to it, which is linear time or worse, and the process of doing SSA on webassembly in the current form is linear time anyway.
You will not speed anything up by using a stack machine here. The usual reason to use stack machines is to make it smaller and easier to run an interpreter on, not to make it compile or optimize faster