Live data from Hacker News

Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

github.com

21–30 of 47 posts

Re: Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

#21

Earlier quoted context omitted.

In enterprise there is two real options for cloud, azure and aws. Both are great, but a lot of us chose azure because we were already Microsoft shops. Their support is excellent, you pay for it so that’s kind of natural, but if I submit an issue with a high importance rating they’ll be on the phone with me on the hour until it’s solved with no extra cost to me. From a European perspective Microsoft were the first to…

Azure is not that great to be honest. Last time I used it (a couple of years ago), it happened to me that my VM was shut down and they sent me an email. Apparently the real hardware it was running in had a problem. That won't happen in AWS, where your VM will be automatically be moved to another server on the fly and you won't even notice. Hopefully they fixed that by now...

> That won't happen in AWS, where your VM will be automatically be moved to another server on the fly and you won't even notice.

Uh, what? Literally had that happen to a tiny micro a year back. Fortunately it was quick to recover from (I was using elastic beanstalk at the time) but this happens on AWS.

Re: Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

#22
post #15

Lot of Microsoft astroturfing going on here at HN nowadays. Every day there are 2-3 positive stories about Microsoft. Or maybe they have just become a great corporate citizen suddenly? It's less likely though.

Microsoft is a company whose three traditional strengths were Windows, Office, and Server. The first is toast and Microsoft lost in mobile, and the second is getting crushed by Google Apps. Power makes companies bad -- Microsoft was bad when they have power, Facebook, Google, and Amazon are bad now that they have power. Microsoft is weaker than they have ever been and thus they are behaving better than they ever have…

I assume that you haven't seen much enterprise environments lately...?

Re: Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

#23
post #5

Update: Oops! confused it with Azure Sphere: https://www.microsoft.com/en-us/azure-sphere/ IoT Edge came out of a program in MS research where they determined that for an IoT device to be truly secure, it has to have a bunch of attributes, including layers of security from hardware to OS, automatic and cryptographically signed updates, etc. And then they set out to build it (and it runs a stripped down Linux kernel).…

Azure Sphere looks promising but the Microsoft $85 Linux dev board SDK requires a Windows 10 device with Visual Studio for development. Hopefully this is not another "Apple does it, so we can too" posture.

If Sphere succeeds, many people will be happy to buy a network router that comes with 10 years of Microsoft Linux security updates.

MS demo of BASIC on the Sphere cpu in an Altair: https://www.theregister.co.uk/AMP/2018/05/21/azure_sphere_go...

Re: Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

#24

Earlier quoted context omitted.

Azure is not that great to be honest. Last time I used it (a couple of years ago), it happened to me that my VM was shut down and they sent me an email. Apparently the real hardware it was running in had a problem. That won't happen in AWS, where your VM will be automatically be moved to another server on the fly and you won't even notice. Hopefully they fixed that by now...

> That won't happen in AWS, where your VM will be automatically be moved to another server on the fly and you won't even notice. Uh, what? Literally had that happen to a tiny micro a year back. Fortunately it was quick to recover from (I was using elastic beanstalk at the time) but this happens on AWS.

Yup. Has happened to me multiple times as well on AWS. GCP OTOH offers (optional) live migration of instances.

Re: Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

#25

With my experience of working on +300 IoT projects - In majority IoT application edge computing is not required, devices generate very less data and perform simple computing or no computimg at all.In embedded usually it's better to keep things simple so that cost and bugs can be reduced. Most IoT application or solutions are usually not adopted due to hardware cost (capex) so keeping devices processing, memory and de…

What if you have poor/intermittent backend connectivity, low latency requirements, or are handling sensitive data and don't want to ship it to a cloud backend? I think there can be a place for this model. Perhaps something like GDPR can make it more attractive? In the projects you have worked on, was the primary motivation maintainability or a business need to gather all data centrally in order to perform some kind of global cross device analysis/aggregation?

Re: Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

#27
Kudos to Microsoft for using Rust. It's a shame Google is attempting to write a new operating system (Fuchsia) almost from scratch right now, but is completely missing the opportunity to use Rust so it doesn't have to deal with decades of memory corruption bugs and other security-related bugs in the future.

Re: Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

#28
post #5

Update: Oops! confused it with Azure Sphere: https://www.microsoft.com/en-us/azure-sphere/ IoT Edge came out of a program in MS research where they determined that for an IoT device to be truly secure, it has to have a bunch of attributes, including layers of security from hardware to OS, automatic and cryptographically signed updates, etc. And then they set out to build it (and it runs a stripped down Linux kernel).…

Azure Sphere looks promising but the Microsoft $85 Linux dev board SDK requires a Windows 10 device with Visual Studio for development. Hopefully this is not another "Apple does it, so we can too" posture. If Sphere succeeds, many people will be happy to buy a network router that comes with 10 years of Microsoft Linux security updates. MS demo of BASIC on the Sphere cpu in an Altair: https://www.theregister.co.uk/AMP…

> Azure Sphere looks promising but the Microsoft $85 Linux dev board SDK requires a Windows 10 device with Visual Studio for development.

LOL. :)

Re: Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

#29
post #27

Kudos to Microsoft for using Rust. It's a shame Google is attempting to write a new operating system (Fuchsia) almost from scratch right now, but is completely missing the opportunity to use Rust so it doesn't have to deal with decades of memory corruption bugs and other security-related bugs in the future.

At least some system parts are written in Go, like TCP/IP stack, file system mounting utilities and a few other drivers.

Also thankfully they are at least making use of modern C++ instead of C.

While not as safe as Rust, definitely better than plain C.

Re: Azure IoT Edge: Microsoft’s 60k LOC open source Rust code base

#30
post #15

Lot of Microsoft astroturfing going on here at HN nowadays. Every day there are 2-3 positive stories about Microsoft. Or maybe they have just become a great corporate citizen suddenly? It's less likely though.

Microsoft is a company whose three traditional strengths were Windows, Office, and Server. The first is toast and Microsoft lost in mobile, and the second is getting crushed by Google Apps. Power makes companies bad -- Microsoft was bad when they have power, Facebook, Google, and Amazon are bad now that they have power. Microsoft is weaker than they have ever been and thus they are behaving better than they ever have…

> crushed by Google Apps

Lol I'm sure that's true

Post reply on HN