10 ms·
While this is a cool project, I can't really see it making financial sense... > Lets throw away the last 20 years development on the linux kernel by thousands
by londons_explore 10y ago
While this is a cool project, I can't really see it making financial sense...
> Lets throw away the last 20 years development on the linux kernel by thousands of people, and rewrite our own.
> How much will it cost?
> Ooh - I dunno - If you lend me 1000 engineers, we should be done in about 10 years, cos we're really smart and don't need to implement legacy SCSI support...
- norswap 10y agoLinux is humongous. I don't know about what Google is trying to achieve with Fuschia, but I if you're willing to make trade-offs, I believe you can make an OS that is multiple order of magnitudes smaller than Linux (or other Unixes, or Windows) and still makes a lot of practical sense.
- bitmapbrother 10y agoReducing the attack surface of the kernel is one of the primary benefits. Companies like Qualcomm are a constant source of exploits due to the amount of buggy drivers they introduce into the kernel each year.
- wyldfire 10y ago> How much will it cost? Good thing it's funded by someone who has lots and lots of money! > Lets throw away the last 20 years development on the linux kernel by thousands of people, and rewrite our own. To suggest that linux is as good as it gets is a mistake. Operating systems are challenging to write, but certainly not impossible. If you're Google, you see big security risks involved in Linux's design. Google tries to mitigate some of those by funding oss-fuzz and a ton of other great options that narrow the opportunity for exploits. But what if you could write your own OS and make particular security guarantees as a design goal? Google has already designed and/or reimplemented almost every aspect of the OS excluding the OS kernel. The biggest drawback for starting a new OS is generally the cost of porting existing software to the new OS.
- ealexhudson 10y agoLinux isn't as good as it gets, but it moves significantly faster than pretty much any other software project. The majority of the code is hardware driver/support, and it's relatively well understood in terms of performance now. Linux today is not much like Linux 10 years ago. Making something better than Linux in some way isn't hard. Making something consistently and sustainably better in enough ways, at the rate Linux moves, is a very hard task.
- bitmapbrother 10y agoI don't believe the intention of Fuchsia is to take on Linux and become the jack of all trades OS but rather the master of some trades.
- ThrowawayR2 10y agoUNIX, as a viable OS model, isn't the last word in operating system design. It has too much design decisions and other baggage rooted in technology dating back to the 1970s. As Rob Pike, one of the people who worked on UNIX, said "Not only is UNIX dead, it's starting to smell really bad." On top of that, Linux essentially sucked all the air out of the UNIX development space by killing off all the commercial UNIXes. Carrying Linux forward rests largely on the shoulders of the kernel team and whatever contributions other businesses feel like making. So where is the next major OS coming from? Google and Microsoft are the last two companies with the talent to build a future OS and enough resources and clout to push it enough to get traction. (In theory, it could also come from the community but people like Linus only come along once in a generation.)
- jcoffland 10y ago> Linux essentially sucked all the air out of the UNIX development space by killing off all the commercial UNIXes. Only because they have done a really good job.
- E6300 10y agoMore like because they've done a good-enough job and because most distributions are free of charge. (Don't get your knickers in a knot. I'm not banging on Linux.)
- jcoffland 10y agoActually the free of charge aspect limited uptake of Linux in the commercial sector for a long time. It has it's faults but Linux won by being a great software.
- cwyers 10y agoEh. The biggest thing Linux had going for it in terms of winning market share was running on commodity x86 parts in a time period when the commercial Unices weren't touching it, and x86 made really strong gains in beating everybody else at performance per dollar.
- ysleepy 10y agoPretty cheap if it ends up saving the Android ecosystem. Android is maybe using 10% of the functionality in the linux kernel but is paying all the overhead and friction of maintaining a branch for each and every device. I think google wants to heavily encapsulate the hardware vendors drivers and customizations and provide a stable API so google can pretty much update devices with on its own without much interaction with the hardware manufacturers. (Which are very complacent about their updating)
- ungzd 10y agoWhy Linux kernel can support lots of CPU architectures in mainline tree but somehow requires to make a fork for each handset made by all these home appliance manufacturers? If you let all these vacuum cleaner companies to fork Fuschia, they'll fork it and put their "unique features" right into microkernel.
- Arizhel 10y agoIt's because all the stupid vendors refuse to share anything, and won't publish their sources for the various device drivers needed. So every time there's some new flash chip or whatever, there's a custom closed-source device driver for it which doesn't get mainlined or updated for newer kernel revisions, and devices with that chip are forever stuck on an ancient kernel version. There's only two ways around this: 1) somehow force companies to open-source their driver code, or 2) have a static, unchanging (or at least very backwards-compatible) ABI for device drivers, and then just suffer with shoddy drivers written by vendors which cause all kinds of glitchy behavior, as Windows was infamous for for so many years. This doesn't happen with the mainline tree because it's all open-source and gets debugged and inspected by others, but that just doesn't happen with the cellphones/Android.
- wyldfire 10y ago> It's because all the stupid vendors refuse to share anything I'm not going to defend the vendors (much). But it's not free to upstream your code. It's work. And I'd argue that it's an investment that will pay off, but you can't fault others much for seeing it differently.
- daenney 10y ago> > Ooh - I dunno - If you lend me 1000 engineers, we should be done in about 10 years, cos we're really smart and don't need to implement legacy SCSI support... Correct, they don't: > From piecing together information from the online documentation and source code, we can surmise that Fuchsia is a complete operating system for PCs, tablets, and high-end phones. Their baseline isn't hardware from 40 years ago, it's that of today and only a subset of it. That means that you can forego an enormous amount of things which are all potential sources of problems. The world has evolved a lot, new theories around OS design and security have come and gone. Just because Linux serves us well doesn't mean we shouldn't explore other options, or that those other options need to support every old data exchange format and hardware port.
- jlarocco 10y agoA few days ago somebody posted a link to some very old UNIX documentation from the early 70s. Something that struck me was how similar it was to modern UNIX systems. A lot of abstractions underpinning Linux, the BSDs, and OSX have not changed much in the 45 years since UNIX V1 was developed. It wouldn't hurt to take a fresh look at things. Your argument could have been used against almost every project Google's worked on. Email, search, Go, phones, Chrome, maps, etc. all had established proprietary and open source competitors. It might be expensive, but it's cheaper, more practical, and more likely to succeed than something like self-driving cars or Google Glass.
- adrianratnapala 10y agoOf course that's largely because those abstractions were good ones. Someone in a comment above noted that Rob Pike thinks Unix is obsolete. But then he was probably thinking about Plan9 which was indeed better than UNIX -- because it even more unixy. Filesystems all the way down. Capabilities are the first new abstraction I have heard of that really go beyond the Unix model.
- JdeBP 10y agoYou need to read more. A lot more. (-: For starters, read the headlined article that observes that capabilities pre-date the UNIX model. Even the "classic authorities" on this stuff, including Bach, Comer, Deitel, and Tanenbaum, pointed to many things that went beyond the UNIX model. And this was almost thirty years ago. There is a wealth of experimentation and diversity that already exists and that has been done over the intervening many years. In addition to the operating systems already mentioned on this very page, there's Helios which was a capability-based system with a POSIX layer on top from the late 1980s/early 1990s. The BSD 4.4 Log-Structured Filesystem had global wear levelling in the filesystem in 1990. OS/2 1.0 went beyond terminal escape codes and multiple mouse protocols to a device-neutral video, keyboard, and mouse paradigm for TUI applications in 1987. People have done operating systems where everything really is a file, "object oriented" operating systems, network distributed operating systems, microkernel operating systems with multiple "personalities", ... all sorts.
- coldtea 10y ago>Lets throw away the last 20 years development on the linux kernel by thousands of people, and rewrite our own. Chrome has more code than the Linux kernel. The numbers I see for 2012 (way back) are: "4,490,488 lines of code, 5,448,668 lines with comments included, spread over 21,367 unique files." Linux, on the other hand, was ~ 200K lines of code for the kernel (the rest is 7 million for drivers, about which the new OS doesn't need to concern itself, as it will on custom hardware) and 2 million lines for various architectures (ditto). Don't overestimate the complexity of building a complete kernel -- even teams as resource lacking as NetBSD can do it. And with other parts of the stack, they already have tons of experience (e.g Skia for graphics etc).
- deno 10y agoBut how does it compare to Emacs? :)
- aanm1988 10y agoThey get to control everything with this and answer to no one. They can learn from past mistakes. They aren't bound to linux legacy support.