Adding support for the Rust language to the Linux kernel. (by Rust-for-Linux)

Rust-for-Linux Alternatives

Similar projects and alternatives to Rust-for-Linux

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Rust-for-Linux alternative or higher similarity.

Suggest an alternative to Rust-for-Linux

Reviews and mentions

Posts with mentions or reviews of Rust-for-Linux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-25.
  • Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility | 2021-10-25
    Yes, this is called "fallible allocations." You add methods with the "try_" prefix that work like the existing methods, except they return a Result which fails if it's out of memory instead of panicking.

    We have a light / temporary fork of the Rust stdlib allocator with fallible allocation support:

    See e.g.

  • Rust for Linux | 2021-10-12
  • Redoing the runtime | 2021-07-29
    Hmm, yeah as you mentioned, looks like a surprising amount of stuff is already done in the rust for the linux kernel project: It's also MIT/Apache licensed, but I was expecting gpl, so I can actually use it. It's still a lot to trim down on, so might be easier to just build up as needed. Additionally I just saw /u/dtolnay's #[no_panic] attribute which at least makes it a compiler error if it's accidentally done.
  • Linux Rust Support Patches | 2021-07-06
  • Linux Rust Support | 2021-07-06
    RRIV. Rewrite Rust in V.

    What abomination is this?

    How could this code be safe?

    Linus Torvalds is brainwashed and now a Google puppet. Nothing more.

    Rust is dead.

  • Why Rust panics on OOM? | 2021-07-04
    You might find this recent PR in the Rust-for-Linux repo interesting: Custom alloc, using stable Rust compilers, and more
  • Linus Torvalds concerns about panics in Rust code when faced with OOM | 2021-04-16
    -- | 2021-04-16
  • Linus Torvalds on Rust support in kernel | 2021-04-16
    I don't think you can use "double standard" as a derogatory term when you're comparing the needs of kernelspace code and userspace code., they're already planning to write their own `alloc` replacement if for no other reason that they need to support API features of the kernel allocator that are absent from the userspace allocator, like GFP flags: | 2021-04-16
  • Preview of Binder IPC Driver in Rust | 2021-04-15
  • [RFC] Rust support for Linux Kernel | 2021-04-14
    From this, it looks like they probably won't end up using liballoc directly (which is kind of what I was expecting as a very casual observer):
  • RFC that adds support for Rust to the Linux kernel | 2021-04-14
    The list of unstable features they want to use is interesting:

  • Process for contributing drivers (using Rust) | 2021-04-03
    While don't you file an issue in their issue tracker asking:
  • Android's new Bluetooth stack rewrite (Gabeldorsh) is written with Rust | 2021-03-31
    Hi! Not a Google employee, but I'm volunteering on the Rust-for-Linux project which is bringing Rust bindings to the upstream linux kernel. A Google engineer is working on porting binder to Rust and is contributing as he implements it. See his comments here[0] and here[1].



Basic Rust-for-Linux repo stats
8 days ago

Rust-for-Linux/linux is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Find remote jobs at our new job board There are 37 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.