Re:JerryScript – A JavaScript Engine for Internet of Things
by daurnimator on Sunday July 26, 2015 @08:27PM
(#9952754)
Similar projects:
Fun alternative: Compile JS to Lua and run that instead (e.g. as done by https://tessel.io/)
[ Parent
| on HN ]
Re:JerryScript – A JavaScript Engine for Internet of Things
by rawdisk on Sunday July 26, 2015 @11:20PM
(#9953161)
One more:
https://cesanta.com/smartjs.shtml
Opinion: Lua is a better choice for IoT but alas the programming "market" has (again) chosen the worse alternative.
Re:JerryScript – A JavaScript Engine for Internet of Things
by bsder on Monday July 27, 2015 @12:16AM
(#9953307)
Lua has a significant strike against it in being 1-based when everything embedded you'd want to put Lua on is 0-based.
In addition, the point of having Javascript is so that I can get my junior software folks (proxy for any inexperienced programmer) to write things for my embedded hardware instead of having to haul out my senior staff engineers who have 20 years of experience writing C for embedded devices.
Look at Arduino vs. Raspberry Pi/BeagleBone. Arduino has way more developers because it was orders of magnitude easier to program. Ecosystem is important.
Re:JerryScript – A JavaScript Engine for Internet of Things
by acoard on Wednesday July 29, 2015 @01:40PM
(#9970228)
>Lua has a significant strike against it in being 1-based when everything embedded you'd want to put Lua on is 0-based.
Why is being 0-based more important on embedded compared to other contexts?
Re:JerryScript – A JavaScript Engine for Internet of Things
by bsder on Monday July 27, 2015 @12:09AM
(#9953286)
Don't forget Picobit which is Scheme:
https://github.com/stamourv/picobit
Re:JerryScript – A JavaScript Engine for Internet of Things
by daurnimator on Monday July 27, 2015 @03:43AM
(#9953903)
I was listing Javascript interpreters with a small resource footprint; how does Picobit fit in?