Birbla

Login
    Asterinas: A new Linux-compatible kernel project (lwn.net)
    174 points by howtofly - 18 hours ago

  • > This IPC often has a performance impact, which is a big part of why microkernels have remained relatively unpopular.

    Somewhat comforting to see deeply technical people still misconstruing why approaches/projects don't get adopted.

    by hardwaresofton - 13 hours ago
  • > This IPC often has a performance impact, which is a big part of why microkernels have remained relatively unpopular.

    I thought newer microkernels... Reduced that? Fixed it? I forget, I just had the impression it wasn't actually that bad except that the industry is still traumatized by Mach.

    From the project website:

    > Only the privileged Framework is allowed to use unsafe features of Rust, while the unprivileged Services must be written exclusively in safe Rust.

    That feels backwards to me. If an unprivileged task is unsafe, it's still unprivileged. Meanwhile the unsafe code that requires extra verification... Is only allowed in the part where nothing can safeguard it?

    And from https://asterinas.github.io/book/index.html (because it was one of my first questions on seeing 'Linux replacement in rust'):

    > Licensing

    > Asterinas's source code and documentation primarily use the Mozilla Public License (MPL), Version 2.0. Select components are under more permissive licenses, detailed here.

    Not GPL, but not BSD either.

    by yjftsjthsd-h - 13 hours ago
  • This is an awesome effort, thank you, knowing that one of the authors is in the thread. How far is this from usability, at least in some reduced context? Would love to be able to build server images based on this kernel and play around with it.
    by lifty - 11 hours ago
  • Makes me think of https://drewdevault.com/2024/08/30/2024-08-30-Rust-in-Linux-... (HN discussion: https://news.ycombinator.com/item?id=41404733)
    by lubsch - 11 hours ago
  • Is it novel development: splitting kernel into small unsafe core and large safe modules? It sounds very interesting and promising. No hardware overhead of microkernel and no safety issues of monolith. Such a project, obviously, depends on a systems language with explicit unsafe/safe separation.
    by vbezhenar - 8 hours ago
  • Seems like a great idea. We have so much software invested that alternative substrates could yield great benefits or at least alternatives when needed for less technical reasons. Kinda reminds me of kFreeBSD and of course GNU/Hurd.
    by karmakaze - 8 hours ago
  • This is an interesting approach, and I wish it will succeed.

    I am still skeptical. In the late 90s or early 2000s Linus was interviewed on TV and what he said stuck with me to this day. When asked about competitors he roughly said:

    No one likes writing device drivers and as long no one young and hungry comes along who is good at writing device drivers I am save.

    I think he was already well aware at that time that keeping the driver interface unstable is his moat. A quarter of a century later kernels that run on virtualized hardware are a dime a dozen but practically useable operating systems in the traditional sense of abstracting away real hardware can still be counted on one hand.

    by weinzierl - 7 hours ago
  • I hope this project succeeds. Rust kernel-level development deserves far better than the current state of affairs.
    by alt187 - 6 hours ago
  • What should be the name for these kind of things? *nux?
    by Toritori12 - 6 hours ago
  • It is licensed under MPL. Well, there is best licenses such as GPLv3.
    by mdtrooper - 6 hours ago

© 2025 Birbla.com, a Hacker News reader · Content · Terms · Privacy · Support