News for hackers. Stuff that matters.
Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by tyingq on Sunday October 16, 2022 @08:12AM (#33222992)
Interesting that Fuchsia isn't mentioned, being capability based and having a microkernel. Seems like there should have been a short explanation of why they didn't use it.
Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by jeroenhd on Sunday October 16, 2022 @08:21AM (#33223040)
I think Fuchsia and KataOS server different purposes. If I read this announcement correctly, KataOS is aimed more at smart light bulbs and such whereas Fuchsia is aimed at relatively powerful devices with a UI (thermostats, smart clocks, etc.) or with significant processing capabilities (Google Home and other smart speakers).

The Github page for Sparrow is counting RAM usage in megabytes with decimals, I don think Fuchsia will even run with less than 30MB of RAM. Their example for OOM events shows a device with 8GB of RAM, though I find it doubtful that even Google's hardware is that wasteful with system resources.

Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by tyingq on Sunday October 16, 2022 @08:30AM (#33223094)
Ah, makes sense. I had seen the mention that the KataOS implementation is running on 64-bit ARM now in QEMU, which sounded more like Fuschia's space.

Though those small devices are getting pretty big hardware these days, since it's cheap now. Some of the Nest thermostats have 512MB of RAM, and 2GB in the higher end Home hubs.

Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by Teknoman117 on Sunday October 16, 2022 @10:30AM (#33223858)
It's kinda nutty to me that my thermostat has more RAM than my Windows XP laptop did 20 years ago.

Based on the function it serves I'm actually kind of appalled. It's a thermostat. You set the temperature and a schedule and it follows along. An ESP32 can do all the Wifi and Bluetooth connectivity you want with half a megabyte of RAM. Maybe you need a few megabytes for a framebuffer for the screen it has. But half a gigabyte?!

Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by adave on Sunday October 16, 2022 @11:38AM (#33224422)
Yeah a lot more goes into the Device than what you would expect. It's not some RTOS base hack-a-day kind of product.
Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by IceWreck on Sunday October 16, 2022 @12:02PM (#33224625)
Well if your thermostat or meeting room door sign runs an instance of chromium in kiosk mode to use HTML/CSS/JS for its UI then you need 2 gigabytes of RAM.
Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by ksec on Sunday October 16, 2022 @10:05AM (#33223708)
>The Github page for Sparrow is counting RAM usage in megabytes with decimals,

I had to look it up [1] and fact check this statement. Turns out it really is "megabytes with decimals". Amazing!

[1] https://github.com/AmbiML/sparrow-manifest

Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by pantalaimon on Sunday October 16, 2022 @10:25AM (#33223834)
So it’s more aimed to compete with Zephyr than with Linux
Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by jtgans on Sunday October 16, 2022 @12:56PM (#33225140)
TL from the project here: you are absolutely correct. KataOS is for embedded systems research, whereas Fuchsia is more of a batteries included system designed for consumer devices.
Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by justinclift on Monday October 17, 2022 @03:46AM (#33230791)
Does it use or work with with Rust's embedded-hal in some way?

I'm not seeing mention of it on the initial website, so am guessing "no". :/

Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by Kukumber on Sunday October 16, 2022 @08:47AM (#33223181)
> Seems like there should have been a short explanation of why they didn't use it.

They don't own you anything, specially when they use it already in their products and just recently announced a new product with it [1], so you are just using FUD at this point

They mention: "Our team in Google Research"

They have multiple R&D teams so and they are working multiple projects

[1] - https://9to5google.com/2022/06/23/google-fuchsia-nest-hub-ma...

Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by tyingq on Sunday October 16, 2022 @08:48AM (#33223191)
>They don't own you anything

It's not unusual when announcing a new product to explain where it fits in with the rest of the products and why it was needed.

Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by Kukumber on Sunday October 16, 2022 @08:51AM (#33223205)
They just released a new product with Fuschia 2 months ago, they still use it, why do you insist with "they don't use it anymore" when it's just not true at all
Re:Google Announces KataOS: Security-Focused OS, Using Rust ... by tyingq on Sunday October 16, 2022 @08:53AM (#33223227)
>why do you insist with "they don't use it anymore"

Didn't say that. Where did you get that quote, "they don't use it anymore" ?

I did say "why they didn't use it", meaning, "why didn't they use it for this specific use case?"