Re:mJS – A new approach to embedded scripting
by jononor on Wednesday January 25, 2017 @03:18PM
(#13485592)
Agreed that on-a-whole JS is not appropriate for embedded devices. However allowing scripting may be useful in particular pieces of the code, to allow easy extension / customization.
[ Parent
| on HN ]
Re:mJS – A new approach to embedded scripting
by drozd on Wednesday January 25, 2017 @05:14PM
(#13486749)
I recall that very much the same opinions were expressed about the JS and backend programming, until node.js appeared. Now the reality is different.
To be honest, we do not think that JS is a good language for embedded. Like any other existing popular scripting language. Perhaps scripted Go would be a better choice.
The point is that in many, many cases scripting brings a lot of benefits to the embedded environment. It all depends on a specific tasks - for some tasks, scripting will never be appropriate.