Live data from Hacker News

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

mongoose-os.com

91–100 of 102 posts

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

#91

Okay, so lots of comments on here and most of them are just plain wrong, FUD or stem from simple misunderstanding. Also, lots of people not groking the value proposition. Let me take a crack at clarifying some key points. So first off, the project is GPLv2 whether you use it for commercial or non-commercial use. The team's first language is not English, they are actually Russian and based out of Ireland, so there is…

> mJS fits into ~25K of flash space and less than 1K of RAM. This is awesome. It affords you the smallest possible functionality with the greatest possible flexibility. I agree, but having said that, I have been trying to use Mongoose on the CC3200 and it is very difficult with Mongoose and mJS. Mongoose with mJS occupies upwards of 225K of flash, and the CC3200 only has 256KB of RAM (and the program must be loaded i…

yes the cc3200 is a difficult platform to deal with, but one that is very popular due to the proliferation of the boards, the excellent battery life capabilities and the number of inbuilt sensors. The support for it isn't totally baked yet, at last as far as my last go-round with it, but it is being actively worked on.

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

#92

> GPLv2 license: FREE FOR NON-COMMERCIAL USE This confuses me, the GPLv2 doesn't say anything about commercial use, it merely says that you need to redistribute the source code to anyone that you distribute your software to. Have they placed additional restrictions on the GPL (which I believe you are prohibited from doing)? or are they just trying to highlight that they are dual-licensing it under a license that isn'…

There was a mistake on the site and it is now corrected

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

#93
post #88

Earlier quoted context omitted.

look, it is shocking how you run covering the holes forgetting about security, who needs automatic device update if it can be hacked by a child??? In most cases, like the door bell, a RTOS is not only unnecessary but also risky less reliable and unefficient!!! Use an unhackable ATmega without the neeed of any OS instead

I hadn't covered security because at the time, it wasn't a major point of comment in the discussions. However, now that several people brought it up, it's useful to discuss. I'll refer you to this page on the site, https://mongoose-os.com/docs/overview/security.html . It'll give you a pretty good overview of where the teams head is at. Mongoose is using ARM mbedTLS with a few patches to optimize for small memory cons…

If mongoose plus espressif hardware are pretty keen on security I am Batman and Russian winter of IOT is not coming.

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

#94

Earlier quoted context omitted.

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.

I haven't read over their encryption code, but even if it's not enough to stop a determined hacker it's still better than nothing.

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

#95

> GPLv2 license: FREE FOR NON-COMMERCIAL USE This confuses me, the GPLv2 doesn't say anything about commercial use, it merely says that you need to redistribute the source code to anyone that you distribute your software to. Have they placed additional restrictions on the GPL (which I believe you are prohibited from doing)? or are they just trying to highlight that they are dual-licensing it under a license that isn'…

There was a mistake on the site and it is now corrected

Cool, thanks for clearing up the confusion (probably mostly just on my part, but thanks.)

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

#96
post #74

It's sad that security isn't one of the homepage sell points of this OS. It feels like IoT is severly in need of serious "security by design". OS level would be a good start.

Security is actually one of the most important pieces of this puzzle and the team is one of the team's top priorities. Agreed it would be good to talk more about that on the homepage and everything that is being done in that respect. Mongoose is actually one of the first embedded platforms that support AWS IOT and X509 across multiple architectures

I fail to see how when C is part of the tooling.

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

#97

A recent tweet that I found funny - "Every time a conf organizer accepts a talk about #IoT using JavaScript ... somewhere in the world an IoT/embedded developer ... dies !"[1]. On a serious note though - Does anyone know a mass manufactured product (based on a uController) that actually uses anything other than C/C++? Rust is a strong contender too, surprised to not see it mentioned here. See an older discussion abou…

"On a serious note though - Does anyone know a mass manufactured product (based on a uController) that actually uses anything other than C/C++?"

None that I know of, but ESP8266 and similar MCUs are so widespread that probably there are lots of products using say nodemcu (ESP+Lua scripting) under the hood. http://nodemcu.com/index_en.html

Wifimcu is a similar product but uses a STM32F4 MCU. http://www.wifimcu.com/

I would personally love to see more use of Nim in this field; it just seem the right tool for the job for being easy to learn, small, fast and powerful.

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

#98
post #71
post #67

Earlier quoted context omitted.

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.

Yes, but neither one prevents you from linking proprietary libraries into your OSS application. > .dll won't help with GPL, only with LGPL (IANAL) Was pretty much totally ambiguous about what exactly was meant.

Am I wrong?

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

#99
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…

> Why introduce a second language to your project? This seems like a huge overhead for no benefit (you're still expected to write C at some point)

If i was having an IoT company or start-up, i would make sure to hire proper engineers; the ones that have no problem with switching between Javascript, C, and Python, or learning them on the fly if needed.

Seriosly, is this really a problem at all?

It is obvious that it is quicker to prototype in Python or JS or whatever scripting language. While for real world usage you would also care about performance and efficiency issues which would better be solved by having more direct control over the bare-metal (C, even assembler.)

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

#100

Why don't more people use FreeRTOS? I always find it to be a nice way to coordinate all the tasks you need to run in an embedded system, without having to manage a huge kernel like Linux. It's also free so there's that...

This is based off of freertos

Is it? I looked all over the site and don't see any mentions of "FreeRTOS", "RTOS", "real time", "tasks", or anything else that would indicate it's based off of FreeRTOS.
Post reply on HN