Live data from Hacker News

Microsoft's Linux Kernel

github.com

91–100 of 532 posts

Re: Microsoft's Linux Kernel

#91

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.

Disclosure: I work at Microsoft but not on Windows (and my work machine is a MacBook Pro FWIW) WSL 2 is a lot like that -- it's a VM in the sense that it uses Hyper-V, but it's super lightweight. And in fact, when WSL 2 is enabled, both Windows AND Linux are running in the same type of VM (separate, obviously), so it's near-native performance in a lot of ways. There are still some I/O issues that the team is actively…

> it uses Hyper-V

does this mean there will be issues using VirtualBox if WSL 2 is enabled?

Re: Microsoft's Linux Kernel

#92

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 wouldn't be so cynical. As with all things, tech comes and goes in cycles. I think with the limit to Moore's law rapidly approaching for current silicon, there's a good chance that efficiency & simplicity will become front and centre again at some point. Not sure if this will mean new architectures, operating systems & better tools.. but one can dream!

It is difficult to continue to hope for that while watching people cheer on additional layers of complexity like the garbage fire that is the modern web.

Re: Microsoft's Linux Kernel

#94

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.

Windows is a massive business for Microsoft still.

Re: Microsoft's Linux Kernel

#95
post #52

Microsoft: put a good POSIX layer into Windows. The times are mature now, and this allows your platform to benefit from a lot of open source system software easily, without portings and compatibility layers. At the same time, now that developers start to be annoyed big time by Apple nonsensical Mac handling, this gives a lot of devs, not developing primarily for the Win arch, the ability to evaluate Windows as a deve…

It used to have a POSIX subsystem, but was removed in Windows 8.1: https://blog.ret2.io/2017/09/20/subsystem-posix/

Re: Microsoft's Linux Kernel

#96

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.

Just run Linux and then run a Windows VM in QEMU, seems like you can do this now.

Re: Microsoft's Linux Kernel

#97
post #57

Earlier quoted context omitted.

The real advantage is that, if all of the applications are written for linux, one day, society may notice that the binary blob is vestigial/removable.

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.

Re: Microsoft's Linux Kernel

#98

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.

Disclosure: I work at Microsoft but not on Windows (and my work machine is a MacBook Pro FWIW) WSL 2 is a lot like that -- it's a VM in the sense that it uses Hyper-V, but it's super lightweight. And in fact, when WSL 2 is enabled, both Windows AND Linux are running in the same type of VM (separate, obviously), so it's near-native performance in a lot of ways. There are still some I/O issues that the team is actively…

do you know if there's hardware pass through for gpu? ie can you do cuda stuff in wsl2?

Re: Microsoft's Linux Kernel

#100

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.

Disclosure: I work at Microsoft but not on Windows (and my work machine is a MacBook Pro FWIW) WSL 2 is a lot like that -- it's a VM in the sense that it uses Hyper-V, but it's super lightweight. And in fact, when WSL 2 is enabled, both Windows AND Linux are running in the same type of VM (separate, obviously), so it's near-native performance in a lot of ways. There are still some I/O issues that the team is actively…

>both Windows AND Linux are running in the same type of VM

Is there a way to suspend windows? From what you say, there is nothing technical preventing this.

Post reply on HN