News for hackers. Stuff that matters.
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by pdonis on Monday October 07, 2019 @07:21PM (#21187043)
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.
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by nullbyte on Monday October 07, 2019 @07:23PM (#21187058)
The 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!

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by Koshkin on Monday October 07, 2019 @07:38PM (#21187167)
> designed for the Windows NT kernel

I am sure you mean "designed for Win32 API."

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by morpheuskafka on Monday October 07, 2019 @08:20PM (#21187414)
Things like ATMs, industrial machinery, SCADA, real-time, embedded, etc. likely have a number of kernel-mode device drivers.
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by cosmojg on Monday October 07, 2019 @07:40PM (#21187178)
Any examples? I'm genuinely curious what kinds of "deep integrations" make NT a more attractive development target than Linux.
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by marcinzm on Monday October 07, 2019 @07:43PM (#21187208)
>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.

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by pdonis on Monday October 07, 2019 @07:32PM (#21187114)
And 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.
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by dragonwriter on Monday October 07, 2019 @07:39PM (#21187170)
> 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.

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by pdonis on Monday October 07, 2019 @07:49PM (#21187239)
> Some were, plenty were not

Which ones were not?

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by dragonwriter on Monday October 07, 2019 @07:58PM (#21187298)
Post-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.
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by pdonis on Monday October 07, 2019 @10:35PM (#21188128)
> 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.

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by lame-robot-hoax on Monday October 07, 2019 @07:24PM (#21187061)
Funny, I run Windows because I find the NT kernel to be superior.
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by monocasa on Monday October 07, 2019 @07:43PM (#21187207)
Interestingly at least one NT kernel engineer disagrees with you.

http://blog.zorinaq.com/i-contribute-to-the-windows-kernel-w...

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by zadler on Monday October 07, 2019 @07:26PM (#21187079)
What in particular do you find to be lacking in the linux kernel?
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by jcranmer on Monday October 07, 2019 @08:02PM (#21187317)
Some 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.

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by rrdharan on Monday October 07, 2019 @07:47PM (#21187230)
I/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 for a lively discussion on this topic]

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by meddlepal on Monday October 07, 2019 @07:41PM (#21187194)
In what ways do you find the kernel superior or better?
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by jplayer01 on Monday October 07, 2019 @08:27PM (#21187458)
Not 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.
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by hollerith on Wednesday October 09, 2019 @04:22PM (#21207567)
Is this on servers or on clients / workstations?
Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by jiggawatts on Monday October 07, 2019 @08:10PM (#21187361)
> 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?

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by pdonis on Monday October 07, 2019 @10:41PM (#21188158)
> 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.

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by sliken on Monday October 07, 2019 @11:47PM (#21188561)
Linux (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.

Re:Linus Torvalds Shares His Thoughts on Microsoft’s New-Fou... by berbec on Monday October 07, 2019 @08:18PM (#21187398)
echo "$(($(date +%Y)+1)) is the year of the Linux desktop."