3 ms·
>Wasm is a good idea but it's going to need to reimplement a lot of existing code (optimizing + jit). Where the hell did you get that idea? WASM can be used as
by imtringued 7y ago
>Wasm is a good idea but it's going to need to reimplement a lot of existing code (optimizing + jit).
Where the hell did you get that idea? WASM can be used as just another frontend for javascript JIT engines like V8 or SpiderMonkey.
- gravypod 7y agoIf JavaScript JITs are anything like Java JITs then it might be that most of the performance-improving optimizations are based on optimizations of how Java/JavaScript operate and recognizing specific patterns that can be replaced with simpler instructions to improve performance. The JavaScript JITs help with the machine code generation but not necessarily with other higher-level optimizations.