3 ms·
Half as slow as native IS a large step forward. It isn't twice the processing power to get the same result, it is twice the processing power to be able to deplo
by vidarh 13y ago
Half as slow as native IS a large step forward. It isn't twice the processing power to get the same result, it is twice the processing power to be able to deploy the same app across vastly more platforms than you would be likely to target without it, and using languages that means you can easily target your main platforms with native builds should you choose to.
That's what you are missing. Nobody has the resources to build native versions for every available platform, and it means a lot of useful tools and fun stuff is entirely unavailable to large groups of users.
The accomplishment is that we're now close to having a platform that makes most code usable in a much more portable environment. And it's twice as slow now; performance will continue to improve.
By your argument, are you writing everything in assembler? Because modern compilers still leave a lot to be desired and are nowhere near achieving maximal performance.
For starters, they create a ton of stack frames that are unnecessary if you hand-tune an assembly program.
Yet most of us don't program assembly anymore for a reason: It is rarely worth the time.
- Tloewald 13y agoYes but javascript is a higher level language than C++, so it's more like advocating programming in 680x0 assembler and compiling it to C because the tools for 680x0 development are awesome and it runs almost half as fast as handwritten C.