News for hackers. Stuff that matters.
Re:JerryScript – A JavaScript Engine for Internet of Things by userbinator on Monday July 27, 2015 @01:30AM (#9953504)
lowers the barrier to entry to embedded programming.

Embedded systems often have very different characteristics than e.g. a web app, and just because someone has been doing JS web apps does not mean they'll be any good at using JS with an embedded system (and vice-versa, but maybe less so.) IMHO lowering the barrier to entry is just going to result in many more buggy/insecure IoT devices... (JS does eliminate certain classes of bugs associated with traditional embedded languages like C, but there are plenty other bugs you can find in web apps that are not buffer overflows.)

Re:JerryScript – A JavaScript Engine for Internet of Things by dottrap on Monday July 27, 2015 @06:07AM (#9954296)
Be careful not to conflate web programming with plain-old JavaScript the language. A lot of the horrible bugs in web programming come from the massive complexity and size related to web browsers, the DOM, and over-engineered frameworks.

If we're talking about streamlined, embeddable JavaScript, we're not bringing the web and all those bloated frameworks.

You are right that those writing web apps won't necessarily be good at embedded systems, especially since (for now), they will have to also separate web APIs from JS-the-language and will not have the APIs they are used to.

But those who survive the transition process will likely pick up better habits. I suspect the APIs and usage will end up looking a lot like the Lua sphere, though perhaps more fragmented since none of JavaScript engines have anything remotely resembling compatible C API interfaces.

Re:JerryScript – A JavaScript Engine for Internet of Things by dragonwriter on Monday July 27, 2015 @01:47AM (#9953556)
> Embedded systems often have very different characteristics than e.g. a web app, and just because someone has been doing JS web apps does not mean they'll be any good at using JS with an embedded system

Indisputably. Lowering a barrier to entry isn't the same thing as guaranteeing success for every entrant.