The performance critical aspects of an app shouldn't need to run on the topmost abstraction layer.
JavaScript should tell the CPU what to do, not how to do it.
Edit: If there are CPU intensive tasks that also need to be customized for a particular app we should perhaps have some way to define those tasks in a way that gives you as developer more control of performance characteristics. I guess this is one of the intentions behind WebAssembly?
JavaScript should tell the CPU what to do, not how to do it.
Edit: If there are CPU intensive tasks that also need to be customized for a particular app we should perhaps have some way to define those tasks in a way that gives you as developer more control of performance characteristics. I guess this is one of the intentions behind WebAssembly?