Have you tried running it in a JS loop many times to see if the numbers get better over time? Chrome uses tiered compilation and your measurements might only hit the baseline compiler.
Have you tried running it in a JS loop many times to see if the numbers get better over time? Chrome uses tiered compilation and your measurements might only hit the baseline compiler.
1) Homophones: air and heir, weather and whether, ate and eight
2) Heteronyms: read, wind, tear
3) Heteronyms where the stressed syllable changes: content, produce, object
1) Homophones: air and heir, weather and whether, ate and eight
2) Heteronyms: read, wind, tear
3) Heteronyms where the stressed syllable changes: content, produce, object
The experimental implementation in V8 has been started but is still in an early state afaict.
The experimental implementation in V8 has been started but is still in an early state afaict.
It doesn't however mean that a web application should use more than 4 GB of linear memory. :)
It doesn't however mean that a web application should use more than 4 GB of linear memory. :)
(But it will probably not be addressed soon as the current proposal is already stage 4, so it would require a new one.)
(But it will probably not be addressed soon as the current proposal is already stage 4, so it would require a new one.)
The wasm objects would still be opaque but a toolchain could e.g. install functions like the "res.is_ok()".
The wasm objects would still be opaque but a toolchain could e.g. install functions like the "res.is_ok()".
Do the builtins miss anything that you'd like to have faster access to?
Do the builtins miss anything that you'd like to have faster access to?
The speedup is caused by inlining being enabled for wasm by default now. (To see the effect, " node --no-experimental-wasm-inlining ..." disables it.)
The speedup is caused by inlining being enabled for wasm by default now. (To see the effect, " node --no-experimental-wasm-inlining ..." disables it.)
It might help to replace mutable globals with passing as arguments as global accesses require some indirections. wasm-opt might also find some improvements.
It might help to replace mutable globals with passing as arguments as global accesses require some indirections. wasm-opt might also find some improvements.