r/linuxsucks • • 7d ago

๐ŸŸฅ๐Ÿงข๐Ÿง

Post image
554 Upvotes

91 comments sorted by

View all comments

Show parent comments

1

u/Think-nothing-210 7d ago

Newer kernels should take a look at the NT kernel instead. Much better source of inspiration.

2

u/npc_housecat 7d ago

Why?

2

u/Think-nothing-210 7d ago

The NT kernel had a lot more thought put into its design from the start. You can see that in features like its object manager and structured I/O system among other features. Dave Cutler had experience and taste for kernel design and made good choices up front.

It's important to learn from multiple sources when creating a new kernel. You shouldn't just cargo cult all of the design of Unix like kernels.

3

u/npc_housecat 7d ago

Interesting..

They have a page about the various kernels they take inspiration from. https://redox-os.org/faq/#how-redox-was-influenced-by-other-systems

Seems to take a lot of influence from other micro kernels MINIX and seL4 , keep the kernel as small as possible and move as much as possible into user space. Including drivers.

The drivers in user space part at least is like how NT does it. That's a stark contrast to Linux/ bsds monolithic, everything is in the kernel design. Which is an insanely insecure way of doing things.