News for hackers. Stuff that matters.
Re:Mongoose OS – An Open Source Operating System for the Int... by wiremine on Tuesday August 08, 2017 @11:09AM (#14958574)
The advantage is time. Many (most?) embedded environments are overly difficult (IMHO), and/or proprietary. Also, even in a good environment, C/C++ typically requires more lines of code than dynamic languages like Python or JS.

Therefore, the industry has been looking for ways to combat both the below par developer experience, and the development time. Samsung's Jerryscript [1] is another example.

That said, I think these things are aspiration more than they are practical.

[1] http://jerryscript.net/

Note: Edited to clarify C++ vs. dynamic languages.

Re:Mongoose OS – An Open Source Operating System for the Int... by grive on Tuesday August 08, 2017 @12:42PM (#14959645)
Sure, I think I see the reasoning behind: reduce the time to market for embedded products.

But I'm mostly wondering the actualy benefit of choosing mJS instead of micropython to do so. It seems that both are capable of handling this problem, however mJS seems aiming at a compromise between JS and C, and my opinion on this is that it will introduce huge overheads on any projects. This mostly stems from my being wary of multi-language projects.

The process involved in embedded platforms seems heavy enough as it is, no need to blur the lines further.

Re:Mongoose OS – An Open Source Operating System for the Int... by wiremine on Tuesday August 08, 2017 @01:37PM (#14960284)
> But I'm mostly wondering the actualy benefit of choosing mJS instead of micropython to do so

I agree with your concern: to me Micropython seems like a much better choice. On the other hand, it's pretty limited to what hardware it runs on.

Re:Mongoose OS – An Open Source Operating System for the Int... by drozd on Tuesday August 08, 2017 @01:41PM (#14960339)
mJS allows you to use C/C++ SDK functions directly without writing a glue code - basically, you can prototype things quite fast with the libraries/drivers that do not have any scripting support yet.
Re:Mongoose OS – An Open Source Operating System for the Int... by unkown-unknowns on Tuesday August 08, 2017 @02:30PM (#14960972)
But why not make that for micropython instead of making a whole new language?
Re:Mongoose OS – An Open Source Operating System for the Int... by wiremine on Tuesday August 08, 2017 @03:12PM (#14961441)
Ideally you don't want to port the C/C++ over to Python: that's the value proposition of mJS, I think.