Hacker News new | ask | show | jobs
by qalmakka 17 days ago
A great pragmatical axiom of security is that if it doesn't come cheap in terms of speed and convenience, it's likely going to fail in the end. People will always pick practicality over security in the real world: if it takes too much time to lock and unlock the front door, the average person will just leave it ajar.

Linux was a monolithic kernel because in 1991 microkernel were in earnest 25 years too early. Computers didn't really have the extra performance to spend for things like IPC and stuff. lots of other kernel designs that started back then like NT and Nextstep (was the NextStep kernel called XNU already? I guess not) all tried the microkernel route and then ended up doing stuff like networking at kernel level anyway because it just didn't work well enough.

arguably nowadays we have extra headroom to spare so stuff like containers, sandboxing, userspace drivers are becoming more and more commonplace.

2 comments

NeXTSTEP uses the Mach kernel, the predecessor to XNU

https://en.wikipedia.org/wiki/Mach_kernel

Yes, I never realised that Mach had become a microkernel only after version 3, before it was a hybrid. NeXT and then Apple simply continued the older lineage which mixed BSD with userspace bits
I've long argued that usability is an aspect of security. A security mechanism that makes a system unusable is indistinguishable from a denial of service attack on that system. Usability is required for availability.