4 ms·
The claim that MS is "putting the Linux kernel at the heart of Windows 10 as part of WSL 2" is an overstatement. If they really wanted to put the Linux kernel a
by pdonis 7y ago
The claim that MS is "putting the Linux kernel at the heart of Windows 10 as part of WSL 2" is an overstatement. If they really wanted to put the Linux kernel at the heart of Windows, they would ditch the Windows kernel, which would be no great loss, and make Windows a GUI over the Linux kernel.
- nullbyte 7y agoThe only problem with this is that there are thousands of business-critical applications that are designed for the Windows NT kernel... Many of them have deep integrations with the operating system. Just think of all the Steam games that are only available on Windows!
- pdonis 7y agoAnd yet programming languages ever since C were supposed to be cross platform. If you have to call on specific features of a particular OS when writing business application code, that's a problem with the OS.
- dragonwriter 7y ago> And yet programming languages ever since C were supposed to be cross platform. Some were, plenty were not, and C is nothing special as a turning point in that. > If you have to call on specific features of a particular OS when writing business application code, that's a problem with the OS. No, insofar as it's a problem, it's a problem with the application language or libraries, in that they don't abstract sufficiently the deployment platform. Now, if they are bundled with the OS, it may be the same product as the OS, but it's not really an OS. problem.
- pdonis 7y ago> Some were, plenty were not Which ones were not?
- dragonwriter 7y agoPost-C languages not made to be cross platform? Well, a whole host of application-bundled languages that were tied to apps that were their sole platform (and often those apps were OS-specific, too.) For starters.
- pdonis 7y ago> a whole host of application-bundled languages Ah, ok. I meant general purpose languages, not languages specialized to particular applications. I should have made that clear.
- Koshkin 7y ago> designed for the Windows NT kernel I am sure you mean "designed for Win32 API."
- morpheuskafka 7y agoThings like ATMs, industrial machinery, SCADA, real-time, embedded, etc. likely have a number of kernel-mode device drivers.
- cosmojg 7y agoAny examples? I'm genuinely curious what kinds of "deep integrations" make NT a more attractive development target than Linux.
- marcinzm 7y ago>I'm genuinely curious what kinds of "deep integrations" make NT a more attractive development target than Linux. They mean that those apps are currently deeply integrated with NT and switching is very expensive for the developers. See most games as an example.
- lame-robot-hoax 7y agoFunny, I run Windows because I find the NT kernel to be superior.
- zadler 7y agoWhat in particular do you find to be lacking in the linux kernel?
- rrdharan 7y agoI/O completion ports was always my go to answer for this but perhaps recent async improvements have helped close that gap? [see also https://news.ycombinator.com/item?id=11865760 https://news.ycombinator.com/item?id=11865760 for a lively discussion on this topic]
- jcranmer 7y agoSome features that Windows did better than Linux/Unix: * IOCP is loads better than epoll * SEH is a better model for synchronous processor instructions than Unix signals * Windows allows some better/easier ways to introspect or modify other processes than Linux does. You can't change another processes memory map on Linux, whereas you can on Windows. And /proc is a pretty poor interface for getting process data, IMHO.
- meddlepal 7y agoIn what ways do you find the kernel superior or better?
- jplayer01 7y agoNot OP, but I do prefer how Windows handles high memory loads (by not becoming utterly unresponsive and forcing me to force reboot my system). It’s 2019. I don’t get how this kind of OS behavior is acceptable. Linux is the only environment where I have to micromanage my memory because I’m afraid I’ll hit that memory limit where everything stops working.
- 7y ago
- jiggawatts 7y ago> no great loss You instantly lost all credibility by saying such an obvious Linux fanboy statement, ignoring reality and business constraints. The value of the NT kernel is absolutely enormous, probably on the order of a trillion dollars. Remind me: Which year was the year of the Linux desktop?
- berbec 7y agoecho "$(($(date +%Y)+1)) is the year of the Linux desktop."
- pdonis 7y ago> The value of the NT kernel is absolutely enormous, probably on the order of a trillion dollars No, the value of the Windows installed base is enormous. But that does not mean the NT kernel is the reason for that value. People, and more importantly large corporations that are the primary customers for Windows, don't buy it because it has a technically superior kernel. They buy it because MS has had lock-in on the PC OS market for several decades now, due not to technical superiority but to IBM making two bonehead decisions that handed that market to MS, and MS has used its market position to force PC manufacturers into bundling agreements that increase the cost of using any other OS to the point where corporations can't justify doing it. In other words, the value of the Windows installed base is that, because of historical events that I would much rather had gone another way but that's water under the bridge now, to a first approximation, Windows is the interface that everybody knows how to use to use a PC. The point of my comment was that it would be an improvement to put that known interface that has huge market lock-in on top of an OS kernel that didn't have all the known security and other technical flaws of Windows.
- sliken 7y agoLinux (the kernel) has a decent desktop marketshare.... if you include chrome OS, which uses the Linux kernel. Of course linux (the kernel) also has a pretty huge phone marketshare, with android which uses the Linux Kernel.