Live data from Hacker News

Microsoft's Linux Kernel

github.com

121–130 of 532 posts

Re: Microsoft's Linux Kernel

#121
post #88

Earlier quoted context omitted.

Given that drivers are Linux's biggest problem, isn't there benefit to leveraging Windows drivers and then running Linux on top of that virtualized hardware? I don't see why you couldn't run x11 in the window manager with the new Linux kernel in Windows.

You can run X11 today with Cygwin.

You can run X11 on Windows today without Cygwin, too.

Re: Microsoft's Linux Kernel

#122

Earlier quoted context omitted.

What if the next windows kernel was based on Linux/POSIX and it had VMs to run legacy windows programs?

Why would MSFT throw away decades of development that have gone into the NT kernel? NT is an advanced and, to my eye, very elegant kernel. Win32 is much less so, but NT isn't Win32.

Because sunk costs and it may make sense to offload their kernel development efforts to focus on what makes them money.

Re: Microsoft's Linux Kernel

#123

Earlier quoted context omitted.

This is probably an unpopular opinion but.. there is a lot of value in having multiple competing kernels. In the same vein as browser engines, any monoculture is a bad idea. Not to mention there's been a lot of good work done on the NT kernel itself. Under the hood it's pretty advanced, even with all the user-space cruft on top.

Sadly, much like with the web, things have evolved such that it is virtually impossible to create a competitor due to all the accumulated complexity. The driver problem on the PC platform is pretty much insurmountable at this point, so any competitor would have to begin life, and gain massively in popularity somehow, on a much less flexible hardware platform. It's a shame and makes me sad for modern computing.

I have think the same but maybe TODAY is not as hard as before:

1- We have 4/5 mainstream OSes today: Win/OSX/iOS/Android + Linux. In the case of iOS/android: Some users alread switch between the 2.

2- If it have apps is almost all people need. Drivers are not THAT significant IMHO.

3- Chromebook is a thing, despite it sound stupid: A OS that is just a browser.

Web is the 6 truly mainstream "OS".

4- What people need on drivers? USB (and with usb-c), hdmi, bluetooth (maybe?) + wifi. With this alone and you get even better than iPad: Monitors, wireless mouse, keyboards, external storage, and by extension you catch the rest.

5- Printers? By proxy of iOS it can work full wireless with no drivers on device.

So I think a true desktop OS could launch with less worry about legacy hardware.

Where IS the problem is the apps. It need to be better than chromebook, have very great first party apps that cover basics and hopefully, a VM layer so you could run linux and catch the rest.

Re: Microsoft's Linux Kernel

#124

I wish Microsoft would release their own linux-based OS with a compatibility layer to let me run Windows apps. I'm not overly impressed with the direction Apple is going but I really enjoy a *nix-native environment too much to go back to vanilla Windows. It would change the math a lot for me if it was full-blown linux under the hood.

Absolutely. At this point, there isn't much value for Microsoft to hang on to the legacy of Windows - with most of their revenue coming from Azure/Cloud and developer products, it might be time to say goodbye to that legacy and make it subsystem on a modern Linux-based system. That might also be a way for them to become more relevant in mobile devices and platforms.

The line item in Microsoft's last annual report which encompasses Windows is "More Personal Computing" and shows $10 billion dollars of operating income on $42 billion dollars of revenue.

Windows revenue grew $925 million. Not to $925 million. By $925 million.

https://www.microsoft.com/en-us/annualreports/ar2018/annualr...

Re: Microsoft's Linux Kernel

#125
I see it as another publicity stunt by the Big 5 tech companies to save their reputation amidst years of anti-privacy violations. From buying Github, to "supporting" open-source software. Yeah right, more like marketing to save your reputation. I'll keep moving further and further away from Big Tech. Will Microsoft send themselves more "aggregated" user data on how their new Linux kernel is being used? Will this have to be another rule for my firewall to block?

Re: Microsoft's Linux Kernel

#126

Earlier quoted context omitted.

Windows Subsystem for Linux is really close to that though. If you have not tried it yet you can download a Windows VM for developers from Microsoft that includes WSL and other dev goodies. Its mostly for evaluation but good enough to get started with. Edit: Here is the link to the Microsoft provided VMs: https://developer.microsoft.com/en-us/windows/downloads/virt...

This is still with Linux running in a VM though, right? I'd like a lightweight VM for legacy Windows and Linux running on metal. Given Microsoft's zeal for legacy support I'd say there's a snowball's chance in hell for this, but a man can dream.

When you run a type-1 hypervisor, the only thing running on the metal is the hypervisor.

This is what happens in the case of WSL 2; both Linux and Windows (the host OS) run in very (very) lightweight VMs.

Re: Microsoft's Linux Kernel

#127

Earlier quoted context omitted.

Indeed... It is Google now that does the extinguishing...

You know, it's funny. The browser world becomes a Chrome mono-culture and all the SV devs throw a fit, rightly, about the lack of competition. Then they turn around and cheer about the idea of Windows becoming just another chromium... er, sorry, Linux distribution.

Those are not comparable things at all. For starters, Linux is under the GPL. It also wouldn't give Microsoft the level of control over the web that the Chrome monoculture gives to Google.

Re: Microsoft's Linux Kernel

#128
post #6

My brain threw an exception when I read this title. Awesome that this is a reality though. Now that we have a Linux kernels running and accessible on both Windows and Chromebooks I feel like we can finally say: 2019 actually is the year of Linux on the desktop. It's not a meme anymore, it's finally just a true statement. Edit: To those questioning if this really counts as Linux on the Desktop. Yes, I understand what…

>> on their gaming rigs

Maybe if ms makes an nvidia driver too. :/

Re: Microsoft's Linux Kernel

#129
post #123

Earlier quoted context omitted.

Sadly, much like with the web, things have evolved such that it is virtually impossible to create a competitor due to all the accumulated complexity. The driver problem on the PC platform is pretty much insurmountable at this point, so any competitor would have to begin life, and gain massively in popularity somehow, on a much less flexible hardware platform. It's a shame and makes me sad for modern computing.

I have think the same but maybe TODAY is not as hard as before: 1- We have 4/5 mainstream OSes today: Win/OSX/iOS/Android + Linux. In the case of iOS/android: Some users alread switch between the 2. 2- If it have apps is almost all people need. Drivers are not THAT significant IMHO. 3- Chromebook is a thing, despite it sound stupid: A OS that is just a browser. Web is the 6 truly mainstream "OS". 4- What people need…

> What people need on drivers? USB (and with usb-c), hdmi, bluetooth (maybe?)

Do you honestly think there is a single USB-C driver that covers literally everything that can connect over USB? And anything with an HDMI port uses the same driver!?

Re: Microsoft's Linux Kernel

#130

Well that is pretty nice. WSL gets that much more exactly like Linux. What I really appreciate about WSL is that you get the accessibility of a bunch of OSS projects and a machine which has legit drivers for all of its component bits. What this means to me is that searching for a "linux laptop" won't be a chore, if it runs the latest Windows it will run Linux. And I can do development on the Linux side while communic…

There are a few annoyances with WSL2. For me the most important are: 1. You can't connect to a port listening on WSL localhost like in WSL1, you have to figure out the WSL IP address and use that. 2. From WSL you can't connect to a Windows TCP port on localhost, you must figure out the Windows IP (cat /etc/resolv.conf) and use that. 3. The WSL remote interpreter on PyCharm is not working anymore. The suggested workar…

I'll add the separate filesystems problem. I generally need to access files from both windows & linux. WSL 2 may have made file access faster within the vhd, but it seems to be slower to use those files from Windows, or impossible with tools that don't yet support the network file paths provided by the 9p server. VS Code's solution with the remote extension is really nice, but every Win tool would have to do something similar to make the experience truly seamless.
Post reply on HN