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


Basic Rust-for-Linux repo stats
3 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.

Rust-for-Linux Alternatives

Similar projects and alternatives to Rust-for-Linux

  • GitHub repo rust

    Empowering everyone to build reliable and efficient software.

  • GitHub repo coreutils

    Cross-platform Rust rewrite of the GNU coreutils

  • GitHub repo ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

  • GitHub repo gccrs

    GCC Front-End for Rust

  • GitHub repo rfcs

    RFCs for changes to Rust

  • GitHub repo cxx

    Safe interop between Rust and C++

  • GitHub repo rustig

    A tool to detect code paths leading to Rust's panic handler

  • GitHub repo sd

    Intuitive find & replace CLI (sed alternative)

  • GitHub repo bastion

    Highly-available Distributed Fault-tolerant Runtime

  • GitHub repo min-sized-rust

    🦀 How to minimize Rust binary size 📦

  • GitHub repo regex

    An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

  • GitHub repo suture

    Supervisor trees for Go.

  • GitHub repo shake

    Shake build system

  • GitHub repo no-panic

    Attribute macro to require that the compiler prove a function can't ever panic

  • GitHub repo embedded-graphics

    A no_std graphics library for embedded applications

  • GitHub repo fancy-regex

    Rust library for regular expressions using "fancy" features like look-around and backreferences

  • GitHub repo lib

    An experimental standard library (by lrs-lang)

  • GitHub repo btleplug

    Rust Cross-Platform Host-Side Bluetooth LE Access Library

  • GitHub repo rustc_codegen_gcc

    libgccjit AOT codegen for rustc

  • GitHub repo BSDCoreUtils

    BSD coreutils is a port of many utilities from BSD to Linux and macOS.

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


Posts where Rust-for-Linux has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-16.
  • 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].

    [0] | 2021-03-31
    Look at this repository where we're working on adding rust bindings to the kernel. Example:
  • Rust in linux-next | 2021-03-18
    You can follow Rust for Linux project here:
  • Rust in Linux-Next | 2021-03-18

    - integrates rustc into the linux kernel build system

    - sets up automated binding generation to allow accessing C Kernel APIs from Rust using bindgen

    - Creates idiomatic rust wrappers around some of those bindings, which is meant to be used by device writers.

    There's more information in the Rust-for-Linux repo[0] (which is the origin for the linux in rust effort), and in the Documentation/rust[1] folder.



  • Debian Running on Rust Coreutils | 2021-03-09
    Another step forward to add Rust language support to the Linux kernel: