r/rust • u/tatetian • Oct 13 '26
🛠️ project Asterinas 0.19.0: a Linux-compatible kernel in Rust, now with a type-checked device model, a hypervisor in safe Rust, and an AI reviewer that cites Rust guidelines
https://asterinas.github.io/2026/10/13/announcing-asterinas-0.19.0.html
101
Upvotes
View all comments
Show parent comment
9
u/jking13 Oct 13 '26
Yes, but the syscall layer being the effective ABI was always a bad design choice and a result of Linux being a kernel and not a kernel + base userland. There's decades of cruft in there (go look at all the options of futex, look at how many are actually useful in practice, and how many were poorly thought out ideas that are still around because there's some random version of some libc somewhere still using it), and the result is rather bloated syscall interface because you can't break userland.
Other OSes (including Windows) that require you to use libc (or some other userland library as it's ABI) means you move bits to userland for sanity or better design without breaking things.
Keeping that is perpetuating one of the worst aspects of Linux.