News for hackers. Stuff that matters.
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by johncolanduoni on Wednesday January 07, 2026 @11:08PM (#46537081)
Mach is not a very good microkernel at all, because the overhead is much higher than necessary. The L4 family’s IPC design is substantially more efficient, and that’s why they’re used in actual systems. Fuchsia/Zircon have improved on the model further.

Someone will of course bring up XNU, but the microkernel aspect of it died when they smashed the FreeBSD kernel into the codebase. DriverKit has brought some userspace drivers back, but they use shared memory for all the heavy lifting.

Re:Kernel bugs hide for 2 years on average. Some hide for 20 by saagarjha on Thursday January 08, 2026 @09:54AM (#46541727)
> Mach is not a very good microkernel at all, because the overhead is much higher than necessary. The L4 family’s IPC design is substantially more efficient, and that’s why they’re used in actual systems.

As opposed to Mach, which is not used in any actual systems

Re:Kernel bugs hide for 2 years on average. Some hide for 20 by johncolanduoni on Thursday January 08, 2026 @12:47PM (#46544038)
I mentioned XNU below. It doesn’t really count as a microkernel if you, you know, don’t actually use the microkernel part. At least for the 30 years between the FreeBSD collision and the introduction of DriverKit, which does most of its IPC through shared memory (because the mach ports are not efficient enough, I would assume).
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by saagarjha on Saturday January 10, 2026 @02:24AM (#46563587)
Yes, but a lot of other things use Mach messages.
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by johncolanduoni on Saturday January 10, 2026 @03:01PM (#46569377)
All the major OSes have components of the larger operating system that run in userspace and communicate via IPC, including Linux. But userspace drivers and basic system services (VFS, network stack, etc.) are very limited in their use of userspace/IPC. If macOS is a microkernel in the sense of those built on L4, then so are Windows and Linux, and the word doesn't have any meaning anymore.
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by saagarjha on Tuesday January 13, 2026 @02:28AM (#46598188)
Is that IPC called Mach?
Re:Kernel bugs hide for 2 years on average. Some hide for 20 by johncolanduoni on Tuesday January 13, 2026 @09:17AM (#46601193)
Yes, and it’s quite inefficient compared to L4 or Zircon’s IPC so it isn’t used for anything that wouldn’t work just fine over a SEQPACKET socket using SCM_RIGHTS like Linux does. Is modern Windows a microkernel because ALPC exists?