3 ms·
> That task is taken over by browser JIT engines But you can't apply high-level optimisations by the time all you have is WASM bytecode and all your high-level
by chrisseaton 4y ago
> That task is taken over by browser JIT engines
But you can't apply high-level optimisations by the time all you have is WASM bytecode and all your high-level structure is gone. You also don't have enough time to apply these optimisations if you're JIT compiling.
- pjmlp 4y agoI see that as the role of a Java compiler, or the bytecode converter. Maybe if we were talking about SubstrateVM, but even then, I don't get why that should be something to increase its code complexity of backends.
- chrisseaton 4y ago> Maybe if we were talking about SubstrateVM Yeah that's what I was talking about. > I don't get why that should be something to increase its code complexity of backends Backends are pretty well-isolated parts of the code. You can see how simple the LLVM one is for example.