News for hackers. Stuff that matters.
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by dundarious on Wednesday January 07, 2026 @10:16PM (#46536758)
If you include all the drivers too (which surely makes the comparison more accurate), is that still the case?
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by nobodyandproud on Wednesday January 07, 2026 @10:34PM (#46536888)
Windows NT 3.x was a true microkernel. Microsoft ruined it but the design was quite good and the driver question was irrelevant, until they sidestepped HAL.

The Linux kernel was and is a monstrosity.

Re:Kernel bugs hide for 2 years on average. Some hide for 20 by WalterGR on Wednesday January 07, 2026 @10:55PM (#46537009)
What do you meant by them sidestepping the HAL?
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by avadodin on Thursday January 08, 2026 @12:15AM (#46537457)
I think the biggest one is that the whole GDI library was moved into the Kernel in 3.5x because the performance was terrible at the time.

I don't think they ever intended to keep all drivers strictly userland, though. Just the service side.

Re:Kernel bugs hide for 2 years on average. Some hide for 20 by nobodyandproud on Thursday January 08, 2026 @11:16AM (#46542750)
Mind you I don't have access to Microsoft code, so this is all indirect, and a lot of this knowledge was when I was fledgling developer.

The Windows NT code was engineered to be portable across many different architectures--not just X86--so it has a hardware abstraction layer. The kernel only ever communicated to the device-driver implementation through this abstraction layer; so the kernel code itself was isolated.

That doesn't mean the device drivers were running in user-land privilege, but it does mean that the kernel code is quite stable and easy to reason about.

When Microsoft decided to compromise on this design, I remember senior engineers--when I first started my career--being abuzz about it for Windows NT 4.0 (or apparently earlier?).

Re:Kernel bugs hide for 2 years on average. Some hide for 20 by pjmlp on Thursday January 08, 2026 @03:34AM (#46538726)
This is outdated since Windows Vista, and even more so in Windows 11.
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by nobodyandproud on Thursday January 08, 2026 @11:18AM (#46542802)
Windows Vista isn't Windows NT 3.x. In the internal versioning, it's not even 4.0.
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by pjmlp on Thursday January 08, 2026 @04:30PM (#46546758)
Indeed, it is something better, Windows NT 6.0.

And it is irrelevant anyway, given that this comment was written from 10.0.26100.

Re:Kernel bugs hide for 2 years on average. Some hide for 20 by nobodyandproud on Thursday January 08, 2026 @05:30PM (#46547420)
Oh, I see.

You’re saying they improved the design. I know they added user-privilege device driver support for USB (etc).; did they revert the display compromise/mess as well?

Re:Kernel bugs hide for 2 years on average. Some hide for 20 by pjmlp on Friday January 09, 2026 @12:29PM (#46556386)
Yes, now graphics drivers are mostly in userspace, with only a tiny driver in kernel space, miniport.

Hence why graphics usually no longer crash Windows, after a small black screen pause, everything continues as usual.

https://learn.microsoft.com/en-us/windows-hardware/drivers/d...