Rust-for-Linux

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
    news.ycombinator.com | 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: https://github.com/Rust-for-Linux/linux/tree/rust/rust/alloc

    See e.g. https://github.com/Rust-for-Linux/linux/commit/487d7578bd036...

  • Rust for Linux
    news.ycombinator.com | 2021-10-12
  • Redoing the runtime
    reddit.com/r/rust | 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: https://github.com/Rust-for-Linux/linux/tree/rust/rust/. 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
    reddit.com/r/rust | 2021-07-06
  • Linux Rust Support
    news.ycombinator.com | 2021-07-06
    RRIV. Rewrite Rust in V.

    What abomination is this? https://github.com/Rust-for-Linux/linux/blob/rust/rust/alloc...

    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?
    reddit.com/r/rust | 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
    reddit.com/r/rust | 2021-04-16
    -- https://github.com/Rust-for-Linux/linux/issues/2#issuecomment-821165008
    reddit.com/r/rust | 2021-04-16
  • Linus Torvalds on Rust support in kernel
    news.ycombinator.com | 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.

    ...plus, 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:

    https://github.com/Rust-for-Linux/linux/issues/2#issuecommen...

    news.ycombinator.com | 2021-04-16
  • Preview of Binder IPC Driver in Rust
    news.ycombinator.com | 2021-04-15
  • [RFC] Rust support for Linux Kernel
    reddit.com/r/rust | 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
    news.ycombinator.com | 2021-04-14
    The list of unstable features they want to use is interesting:

    https://github.com/Rust-for-Linux/linux/issues/2

  • Process for contributing drivers (using Rust)
    reddit.com/r/kernel | 2021-04-03
    While don't you file an issue in their issue tracker asking: https://github.com/Rust-for-Linux/linux/issues
  • Android's new Bluetooth stack rewrite (Gabeldorsh) is written with Rust
    news.ycombinator.com | 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].

    [0] https://github.com/Rust-for-Linux/linux/pull/145

Stats

Basic Rust-for-Linux repo stats
19
1,710
10.0
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
www.saashub.com
Find remote jobs at our new job board 99remotejobs.com. There are 37 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.