5 ms·
It's interesting how the trend in newer OSes seems to be towards client apps running in some sort of VM. Windows runs Linux. Some Chromebooks run both Linux and
by skybrian 8y ago
It's interesting how the trend in newer OSes seems to be towards client apps running in some sort of VM. Windows runs Linux. Some Chromebooks run both Linux and Android.
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.
- Someone1234 8y ago> I wonder if we'll get to the point where hardly anything is a native app and the concept doesn't matter much anymore? You mean a web browser? We're there.
- ofrzeta 8y agoI've been waiting for this more than 20 years :) http://lowendmac.com/1997/red-box-blue-box-yellow-box/ http://lowendmac.com/1997/red-box-blue-box-yellow-box/ Now we are finally there.
- glennpratt 8y agoChromeOS and Android are Linux. Android compatibility comes from a container. https://chromium.googlesource.com/chromiumos/platform2/+/master/arc/container-bundle/README.md https://chromium.googlesource.com/chromiumos/platform2/+/mas...
- pjmlp 8y agoHaving Linux kernel is pretty transparent for app developers. 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. https://developer.android.com/ndk/guides/stable_apis https://developer.android.com/ndk/guides/stable_apis
- Wowfunhappy 8y agoBut it does mean a Chrome OS device can run Linux software without a full-on Virtual Machine, since the underlying kernel is the same.
- pjmlp 8y agoIt also means that they can be ported to other OSes with zero dependencies on Linux.
- slrz 8y agoOTOH, neither is the ARM ISA. Yet, once you try to bring a non-ARM Android device to the masses, you will soon discover the rule of Hyrum's Law.
- pjmlp 8y agoI have plenty of apps running on my non-ARM Android devices. As for Hyrum's Law, since Android 7, any misbehaved app that tries to use non-sanctioned NDK APIs gets killed by the OS.
- pjmlp 8y agoActually they are catching up with the language environments on mainframes.
- AnIdiotOnTheNet 8y agoWhy not? The history of computing is about isolating applications, really. Why do we have Virtual Memory? Because it allows each process to have an independent address space. Why do we have preemptive multitasking? Because it allows each process to behave as though it is the only task running. Why is hardware virtualization so great? Namespacing and containers? 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. [0] https://www.youtube.com/watch?v=kZRE7HIO3vk https://www.youtube.com/watch?v=kZRE7HIO3vk
- hawski 8y agoBut isn't it also a problem? We not only want to do things contained within a program, we also went them to cooperate. Don't we also want accessibility? I think that middle ground is needed, but currently pendulum is inclined in other direction.
- piotrkubisa 8y agoPersonally, I look forward to QubesOS-feel [0] to be more mainstream and user-friendly - access to USB drives in secure VM, interoperable applications between various OSes and easy way to create a disposable disk/VM... [0] https://www.qubes-os.org/ https://www.qubes-os.org/
- iKevinShah 8y ago"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." 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.
- MikusR 8y agoLinux on windows has no Linux in it.
- deleted 8y ago[deleted]
- hermitdev 8y agoLinux on Windows, i.e. WSL (Windows Subsystem for Linux) is not a VM - it's a separate system compatibility layer, somewhat akin to what MS SQL Server does to abstract away to OS to also be able to run on Linux now.
- newnewpdro 8y agoThe parent may very well have been referring to Linux on Windows, in the form of a Linux VM. They didn't mention WSL at all.
- evv 8y agoI think we've seen a proliferation of one concept, often disguised as many things: the container for a program. 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..)
- gruez 8y ago>The host OS just exists to run guest OSes. so a hypervisor?
- michaelmrose 8y agoTo be clear chromebooks ARE linux.
- hawski 8y agoIt's a technical detail. It may be quite a big detail, but it's covered by a huge elephant.
- pavlov 8y agoBack in 1991 IBM bet their operating system strategy on a project called “Workplace OS” which was supposed to be exactly that, although it didn’t include a VM: https://en.m.wikipedia.org/wiki/Workplace_OS 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.