Re:JerryScript – A JavaScript Engine for Internet of Things
by gbl08ma on Sunday July 26, 2015 @04:05PM
(#9952045)
The ESP8266 may be a good candidate. tmrmr already said in these comments that some other company had ported another JS engine to the thing. And the world isn't just Arduinos, Raspberry Pis and other nicely-packaged "hacking" solutions.
Re:JerryScript – A JavaScript Engine for Internet of Things
by rhinoceraptor on Sunday July 26, 2015 @07:10PM
(#9952542)
Yep, I've been running Node.js on a Raspberry Pi with Arch Linux ARM embedded project for a couple months now. It works great, other than the startup time for Node being pretty rough.
Re:JerryScript – A JavaScript Engine for Internet of Things
by bsder on Monday July 27, 2015 @12:09AM
(#9953282)
> Ardunino Uno (ATmega CPU): 2KB RAM, 32KB ROM - Too small.
To be fair, that system really doesn't run anything dynamic well.
However, your point stands. Requiring 64K of RAM puts this above most ARM Cortex M0 chips.
Picobit (https://github.com/stamourv/picobit) sits comfortably in 16K ROM/4K RAM. There's no good reason why Javascript vouldn't do the same.
Re:JerryScript – A JavaScript Engine for Internet of Things
by MikusR on Sunday July 26, 2015 @04:29PM
(#9952114)
Probably this https://www.artik.io/hardware/artik-1
So the target for JerryScript is machines in the Due range. Rust has been crammed into the Arduino Due, which may become a good approach for embedded work. Go probably won't fit; too much runtime.
They're all in the $25-$45 price range. The Due, surprisingly, is the most expensive.