Re:JerryScript – A JavaScript Engine for Internet of Things
by sklogic on Sunday July 26, 2015 @07:50PM
(#9952667)
> That's the only reason, but it's a huge reason.
Kinda stupid reason.
> more high-level that are not thereby made somewhat more difficult
Usually, the higher the level of the language, the easier it is to use. I would never call JS an easy language.
Re:JerryScript – A JavaScript Engine for Internet of Things
by cshum on Sunday July 26, 2015 @08:27PM
(#9952755)
JavaScript is weird and stupid to begin with. Until it becomes the most widely used, fastest dynamically typed language.
Re:JerryScript – A JavaScript Engine for Internet of Things
by sklogic on Monday July 27, 2015 @02:45AM
(#9953728)
Won't ever be "fastest" in embedded, no way you can run your v8 on such devices.
Re:JerryScript – A JavaScript Engine for Internet of Things
by sangnoir on Monday July 27, 2015 @08:47AM
(#9954799)
> 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/
Re:JerryScript – A JavaScript Engine for Internet of Things
by sklogic on Monday July 27, 2015 @12:31PM
(#9956192)
Web 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.
...though I'm not sure what languages you think are more high-level that are not thereby made somewhat more difficult to use by beginners and/or on small projects, which would rather defeat the purpose, since the actual code running on these cheap microcontrollers is usually relatively small.