Live data from Hacker News

Mongoose OS – An Open Source Operating System for the Internet of Things

mongoose-os.com

61–70 of 102 posts

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#61
post #12

Earlier quoted context omitted.

Seems to be the latter, fairly typical "its GPL unless you want to pay us for a different license" https://github.com/mongoose-os-libs/mqtt/blob/master/LICENSE

It seems that it lacks the "or (at your option) any later version" part. Which is quite sad.

And an odd choice, even if your target market is tyrant devices. Why not encourage corporations to pay for the non-free license by restricting the uses of the free version?

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#62
post #53

Earlier quoted context omitted.

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 t…

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 o…

> 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 Internet of Things

#63

I really fail to see what this brings to the table. In the section on their main page contrasting with arduino, they bascailly just say that they're more reliable, with nothing to really back that up. Looking at their documentation, I don't really see how they can make that claim. The issues with Arduino's reliability stems, IMO, from the fact that Arduino code isn't an RTOS. Ie. there's no separation of real time pr…

I'm thinking about using Mongoose for a future project (as opposed to Arduino IDE or the ESP SDK directly) I think the advantages are:

Security: TLS 1.2, x509 certificates, ability to stop random people from flashing your board)

Remote management: OTA process doesn't seem that different from other methods, but they have some other nice things. For example they make it really easy to separate your code from your configuration.

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#64
post #53

Earlier quoted context omitted.

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 t…

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 o…

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 Internet of Things

#65
post #15

> Prototyping and Scripting Engine > Micropython Moving to production (C/C++) or factoring out critical pieces to C/C++ is not trivial VS. > mJS - JavaScript engine for prototyping and C/C++ for production I don't know much about it, but from the surface it seems that the problem is exactly the same? What is the benefit of prototyping in JS instead of Python? In the end, either you refactor everything purely in C, or…

Fast prototyping is the answer. If you or some others are skilled in C/C++, you don't need JS.

For others, having a simple way to prototype fast on the target hardware is a big benefit.

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#67
post #56

Earlier quoted context omitted.

.dll won't help with GPL, only with LGPL (IANAL)

I think you have it backwards, if I am interpreting your very brief statement fully correctly... If you are building a library and you want it to be open source but also usable by products that are not open source, you can use LGPL. If you are building a proprietary library and you want to keep it proprietary, but link it into a GPL application, I think there is nothing is stopping you from doing that. You still have…

You read the previous statement backwards. OP meant: dynamic linking allows you to use LGPL libraries with proprietary applications; to use GPL libraries in your application you have to make your application free even if you are linking dynamically.

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#68

I really fail to see what this brings to the table. In the section on their main page contrasting with arduino, they bascailly just say that they're more reliable, with nothing to really back that up. Looking at their documentation, I don't really see how they can make that claim. The issues with Arduino's reliability stems, IMO, from the fact that Arduino code isn't an RTOS. Ie. there's no separation of real time pr…

I'm thinking about using Mongoose for a future project (as opposed to Arduino IDE or the ESP SDK directly) I think the advantages are: Security: TLS 1.2, x509 certificates, ability to stop random people from flashing your board) Remote management: OTA process doesn't seem that different from other methods, but they have some other nice things. For example they make it really easy to separate your code from your confi…

> ability to stop random people from flashing your board

That part in particular seems like a really bold assumption.

Post reply on HN