4 ms·
JavaScript is weird and stupid to begin with. Until it becomes the most widely used, fastest dynamically typed language.
by cshum 11y ago
JavaScript is weird and stupid to begin with. Until it becomes the most widely used, fastest dynamically typed language.
- sklogic 11y agoWon't ever be "fastest" in embedded, no way you can run your v8 on such devices.
- sangnoir 11y ago> Won't ever be "fastest" in embedded, no way you can run your v8 on such devices. V8 won't always be required for fast Javascript. If Web Assembly[1] pans out as planned, I can foresee embedded devices that can execute wasm code natively (or at least fast) 1. https://brendaneich.com/2015/06/from-asm-js-to-webassembly/ https://brendaneich.com/2015/06/from-asm-js-to-webassembly/
- sklogic 11y agoWeb assembly, as well as asm.js, is never meant to be manually written. It's a target for compilers. And even the most efficient ever implementation of web assembly won't make your plain old javascript any faster.