198 points · by AlexeyBrin · 7y ago · 146 comments
I wonder if we'll get to the point where hardly anything is a native app and the concept doesn't matter much anymore? The host OS just exists to run guest OSes.
I think Casey Muratori did a good job outlining the case for removing the OS from the equation entirely in "The thirty-Million Line Problem" [0]. He describes a hardware architecture where standardized ABI and hardware virtualization replaces the OS and drivers, allowing each process to behave as if it was the only software on the computer, as it was in the olden days with platforms like the C64. The closest thing to an OS would be a hypervisor, which should be the kind of thing an enterprising young programmer could write in their spare time in a month.
A long time ago, the program was your whole OS, you'd boot into it. The computer is the container.
Then we introduced operating systems, allowing a safer container for bad programs. The program is the container.
One type of program became extremely popular because it enabled delivery of a program via the internet. The web app is the container.
In the web world, frameworks like React have become incredibly popular because they allow people to break up apps into smaller components that can be shared. The component is the container.
Of course, on the back end, similar needs have led to Docker/K8s. The container is the container.
Given that everything in our world is a container, you'd think we would have better tools for composing them. As a web developer, I should be able to embed other web apps and communicate with them like I do with my React components. And I'd also like to be able to boot directly into a web app, and embed native programs and virtual operating systems.
Even when it comes to basics: most operating systems other than Chrome still have yet to natively support the web as a peer of traditional programs.. Electron should't be necessary. Likewise, environments like Docker and VirtualBox should be baked in to the OS that we boot.
The point is, as an industry we need to collectively pull our heads out of our asses, and realize that we'd be much better off refactoring our magnificent existing containers, rather than attempting to invent new ones. (I'm looking at you, iOS/Android..)
https://chromium.googlesource.com/chromiumos/platform2/+/mas...
They don't care which kernel powers Chrome processes, or ART.
On Android's case, Linux syscalls aren't even part of the official stable APIs.
You mean a web browser? We're there.
https://en.m.wikipedia.org/wiki/Workplace_OS
“Above the PNS, the operating system personalities run in the form of user-space servers that execute DOS, OS/2, and UNIX—with further intentions to support Microsoft Windows, OS/400, AIX, Taligent, and MacOS personalities.”
It’s been called one of the most expensive failures in operating system development.
This already happens in server infrastructure where the host OS just exists to run the guest OSes(VMs) and now, lately, the host OS just exists to run guest containers.
so a hypervisor?
from the web demos I have seen of fuchsia running flutter its the same UX as android ..different apis that's all and way faster rending pipeline via flutter rendering engine
If more apps are just text and a few pictures, why are they running a full copy of the blink and v8 engines and not just using what's required for the job?
just like that time when iOS was suddenly hot, but there were no apps for it, because programmers hated Objective-C and weren't willing to learn it. So Apple released a new SDK and toolchain that allowed them to write apps in C++ instead.
oh wait.
Okay, all snark aside. Come on, guys. Isn't the fact that high tech is always new and innovative considered to be a good thing? So why is there always so much pressure to insist that every new thing has to be exactly like all the old things?
Learning Dart is not difficult. I did it myself, without even trying. I just pretended I already knew it, by following examples I found online. After a couple of weeks, my pretend-knowing turned into real-knowing.
Dart is just a programming language trying to get its killer app, which was dropped by Chrome team and gets political answers from Android team.
As long as their apps work, users won't care.
Which, for some reason, some iOS developers really loved doing which cause endless headaches when adding support to yet another form factor of those devices and endless "fragmentation" complaints.
Now gnu/linux on ChromeOS is using a completely different Linux kernel.
It was important Google did it this way so gnu/Linux would still work when they update ChromeOS to Fuchsia. Google already has Gnu/linux running on fuchsia with something called Machina.
If I'm understanding correctly, this would work the same way that the GNU/Linux termina VM is booted when using crostini currently.
Prepare for 5 different Google OSes all of which support a slightly different featureset
If that is the case I could imagine that Fuchsia might not become a separate "product" for consumers at all - instead, Google could replace Android's implementation "under the hood" with it but still present it as just another Android version brand/UI wise.
If they managed to do the same with Chrome OS, the'd actually have archieved consolidation on a technical level without causing consumer confusion. (Well, more than there already is)
https://en.wikipedia.org/wiki/List_of_Microsoft_operating_sy...
Add Android TV, which has some features and restrictions that differ from Android.
Google's phone lineup for 2022:
- Chrome with Android
- Chrome with Android One
- Chrome Android Pixel
- Fuchsia with Android
- Fuchsia Silver with Android
- Fuchsia Android Nexus
- Fuchsia Android Pixel
You heard it here first.It was going to be Android native userspace plus a subset of the Android frameworks redone in C++.
Then suddenly, due to customer feedback as the main official reason, it got rebooted as Android Things, supporting even writing userspace drivers in Java.
Then ChromeOS got to add Android support.
I guess it is kind of clear which group is winning the internal political wars.
It runs the apps I care about, and keeps getting OS updates, unlike my Android devices.
I could see it being the straw that finally breaks the camel's back for Samsung, though. They have their own assistant, web browser... they could just choose to go it alone.
I should note that I have only glanced at what implementation details are public and it is entirely possible that this is not feasible
This is literally the past 15 years of Google.
What am I being naive about? Do all of the wildly successful Google products not count here?
Other than for Gmail/Chrome[OS]/Android/Photos/Youtube/Music/Maps, I totally agree.
Google has been screwing up EVERYTHING lately. Every recent Google product launch that I can think of has been botched. They're REALLY checked out over there.
Serious question. What's the last major successful Google project that was built within Google and not acquired?
I can't think of one.
Edit: Also Google Home devices, especially the Mini
No friend discovery, funded by ads, people mostly ignore emails I send them, but everyone has it and depend on it being rock solid. It's like air.
If my "major" you mean "more than 100MM users", it's been a while, but then what was the last (new) product launch by any established company that has 100MM users? If you drop that to a smaller number, there are tons though.
If by product you mean "consumer product", again, perhaps a while, but I'd argue that there are tons in the business space. (ML, cloud, etc.)
Oracle wasn't accusing Google of using "stolen" code in Android. They were claiming that Google's complete re-implementation of Oracle's Java APIs was a copyright violation.
The case itself will have long lasting impacts since it has established in US law that API interfaces themselves are a copyright/protected concept. That means that even complete clean room re-implementations or compatibility layers could be threatened.
The ruling is quite problematic, but there's nobody technically literate enough in congress or the courts to do anything to stop it.
Only in the Federal Circuit, which adjudicates cases involving patent law. Copyright cases are typically decided by the other courts of appeal, and there is precedent in those courts (like Lotus v Borland) against the copyrightability of interfaces.
All third-party manufacturers will be stuck with just legacy Android, and Google will have a contender to iOS.
Think instagram eating snap, but for lots and lots of products.