Live data from Hacker News

Playing around with the Fuchsia operating system

blog.quarkslab.com

21–30 of 285 posts

Re: Playing around with the Fuchsia operating system

#21
post #17
post #6

Earlier quoted context omitted.

Keep in mind, too, that path dependence plays a huge role here. Linux took off when the alternatives were Windows NT, Novell Netware, or commercial Unixes running on underpowered RISC hardware.

BSD was around!

It was, but it was in legal limbo.

Re: Playing around with the Fuchsia operating system

#22
post #15

A couple of years ago it was believed that Fuchsia would replace Android and ChromeOS. Then, IIRC, it was said in a Google IO that it was just some sort of experiment to test new OS ideas. What do you think is Google's masterplan for Fuchsia?

Like most of their products, I don't think there is a master plan.

At the very least I expect to see it used in "IoT" devices like Nest thermostats and stuff like that. Whether it ever replaces ChromeOS or Android is impossible to determine at this point though. Almost every attempt at running Android apps on another platform for compatibility has been a failure. Microsoft seems to have given up on it entirely.

Re: Playing around with the Fuchsia operating system

#23
post #15

A couple of years ago it was believed that Fuchsia would replace Android and ChromeOS. Then, IIRC, it was said in a Google IO that it was just some sort of experiment to test new OS ideas. What do you think is Google's masterplan for Fuchsia?

> Then, IIRC, it was said in a Google IO that it was just some sort of experiment to test new OS ideas.

That's a form of public denial on their side. Why would they upstream Chromium, LLVM, Rust and Android ART support then? It has first class support for Flutter as a way of running all Flutter apps from day 0.

Don't be fooled too easily by that statement.

Re: Playing around with the Fuchsia operating system

#24
post #15

A couple of years ago it was believed that Fuchsia would replace Android and ChromeOS. Then, IIRC, it was said in a Google IO that it was just some sort of experiment to test new OS ideas. What do you think is Google's masterplan for Fuchsia?

I believe the idea behind could be the same for Mindori project inside Microsoft years ago:

"Midori was a research/incubation project to explore ways of innovating throughout Microsoft’s software stack. This spanned all aspects, including the programming language, compilers, OS, its services, applications, and the overall programming models. We had a heavy bias towards cloud, concurrency, and safety. The project included novel “cultural” approaches too, being 100% developers and very code-focused, looking more like the Microsoft of today and hopefully tomorrow, than it did the Microsoft of 8 years ago when the project began." [1]

Later some of this ideas became core features on Windows.

For a great overview about Mindori project: [1] http://joeduffyblog.com/2015/11/03/blogging-about-midori/

Re: Playing around with the Fuchsia operating system

#25

Earlier quoted context omitted.

Indeed. I wonder why they didn't go with Rust? They seem to be trying to make the perfect architecture from scratch without worries about complexity or how experimental it is or even how long it'll take, and yet they don't go with a language that'll solve a whole other class of problems? Seems like an odd choice. Maybe they're just making use of the existing C++ talent pool at Google.

Lots of the userland pieces are in Rust. I don't think Rust gives you much advantage for kernel code (esp. in a microkernel), because most of it is unsafe anyway. And Rust has some missing pieces for this kind of code (for example, using custom allocators on a per-data structure basis is still difficult).

I wonder if that's true for RedoxOS microkernel [0]? I m not technical enough to make the comparison myself.

[0]: https://gitlab.redox-os.org/redox-os/kernel

Re: Playing around with the Fuchsia operating system

#26
post #5

I'm both very excited someone is taking a shot at trying something new on kernel side. But i can't help wonder about what would a future look like where 90% of hardware run on a Google-owned operating system.

Would that really ever happen? Microsoft - a company so dominant it got an antitrust lawsuit - hasn't even been able to get 90% of the market share. No operating system since the very early days of computing has. Not only that, but other older operating systems are always going to have an advantage here anyway: they'll have support, ecosystems, documentation, and people with years of experience with them. Google isn'…

> Only 87% of people use Google Search.

Note that some ostensible competitors like Startpage are still powered by Google under the hood.

Re: Playing around with the Fuchsia operating system

#27
post #5

I'm both very excited someone is taking a shot at trying something new on kernel side. But i can't help wonder about what would a future look like where 90% of hardware run on a Google-owned operating system.

Would that really ever happen? Microsoft - a company so dominant it got an antitrust lawsuit - hasn't even been able to get 90% of the market share. No operating system since the very early days of computing has. Not only that, but other older operating systems are always going to have an advantage here anyway: they'll have support, ecosystems, documentation, and people with years of experience with them. Google isn'…

87% of the market is a monopoly by any legal definition.

Re: Playing around with the Fuchsia operating system

#28

Earlier quoted context omitted.

Indeed. I wonder why they didn't go with Rust? They seem to be trying to make the perfect architecture from scratch without worries about complexity or how experimental it is or even how long it'll take, and yet they don't go with a language that'll solve a whole other class of problems? Seems like an odd choice. Maybe they're just making use of the existing C++ talent pool at Google.

Lots of the userland pieces are in Rust. I don't think Rust gives you much advantage for kernel code (esp. in a microkernel), because most of it is unsafe anyway. And Rust has some missing pieces for this kind of code (for example, using custom allocators on a per-data structure basis is still difficult).

Seems like it would be trivial for them to have extended rust, given the resources they are applying to this.

Re: Playing around with the Fuchsia operating system

#29
post #6

This debate about monolithic vs. micro-kernels has been had many times. Maybe this time the resolution is different, who knows. But FWIW Linux didn't reach its success because someone made a feature comparison between it and what else was out there in a spreadsheet and somehow discovered how Linux was so much better. Instead, Linux won (and continues to win) because it's the Rocky Balboa of operating systems. It may…

Keep in mind, too, that path dependence plays a huge role here. Linux took off when the alternatives were Windows NT, Novell Netware, or commercial Unixes running on underpowered RISC hardware.

Late 1990s,a huge amount of linux installs in the business happened because of Samba and Apache

Re: Playing around with the Fuchsia operating system

#30

Earlier quoted context omitted.

Indeed. I wonder why they didn't go with Rust? They seem to be trying to make the perfect architecture from scratch without worries about complexity or how experimental it is or even how long it'll take, and yet they don't go with a language that'll solve a whole other class of problems? Seems like an odd choice. Maybe they're just making use of the existing C++ talent pool at Google.

Lots of the userland pieces are in Rust. I don't think Rust gives you much advantage for kernel code (esp. in a microkernel), because most of it is unsafe anyway. And Rust has some missing pieces for this kind of code (for example, using custom allocators on a per-data structure basis is still difficult).

I've heard this kind of argument a lot and it's getting tiresome when we just keep seeing the same old preventable bugs being a problem time and time again. Yes, a kernel written in a safe language will still have security bugs. But it would absolutely have a very large positive impact. And any problems with safe languages can be worked around with a bit of imagination, especially with the level of effort already required to write a whole OS with a large number of hardware drivers.
Post reply on HN