2 ms·
It isn't built in but you could mitigate this by rewriting the wasm module to only execute for a certain number of iterations and then return to the outer conte
by nerpderp82 4y ago
It isn't built in but you could mitigate this by rewriting the wasm module to only execute for a certain number of iterations and then return to the outer context. This isn't currently handled in Js either. For Wasm engines that run outside of the brower, some do have the notion of cycle counting.
Wasm is a true virtual machine.