Mark Russinovich: “Working towards enabling Windows driver development in Rust”

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. windows-drivers-rs

    Platform that enables Windows driver development in Rust. Developed by Surface.

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. KernelSharp

    C# Kernel Mode Driver example using NativeAOT

    Here's an example [1] of a device driver in C#. It is possible. It is also not recommended.

    [1] https://github.com/VollRagm/KernelSharp

  4. UIforETW

    User interface for recording and managing ETW traces

    You can use UI4ETW[0] to capture an event trace when the mouse freezes. You may need to install the Windows SDK or Visual Studio to interpret the results, though.

    [0] https://github.com/google/UIforETW

  5. Rust-for-Linux

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

    > How would this work?

    Don't know exactly what you're asking.

    > And why would it be a better idea?

    Poorly written device drivers are a significant attack vector. It's one of the reasons Linux is now exploring using Rust for its own device drivers.[0] You may be asking -- why Rust and not some other language? Rust has many of the performance and interoperability advantages of C and C++, but as noted, makes certain classes of memory safety issues impossible. Rust also has significant mindshare among systems programming communities.

    [0]: https://rust-for-linux.com

  6. shared_memory

    A Rust wrapper around native shared memory for Linux and Windows

    > Rust type system doesn't help when the data resides in a shared memory segment accessed by multiple processes.

    This isn't quite true. You can provide a safe abstraction that involves cross-process locking APIs. https://github.com/elast0ny/shared_memory/blob/HEAD/examples... is an example using a mutex guard.

    Rust's type system helps more in some cases than others but you can get at least some help from it almost all of the time.

  7. Meadow.Foundation

    Unified driver and library framework for Meadow applications.

    Like this, for a possible example,

    https://github.com/WildernessLabs/Meadow.Foundation

  8. Cosmos

    Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!

    I didn't realise that. Then again, I only experimented with AOT executables quite briefly. Perhaps Cosmos[1] stuck in my head more than what I read about AOT dotnet applications.

    [1]: https://github.com/CosmosOS/Cosmos

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Linus Torvalds: Rust will go into Linux 6.1

    2 projects | /r/rust | 19 Sep 2022
  • Linus Torvalds: Rust may make it into the next Linux kernel after all

    6 projects | /r/rust | 15 Sep 2022
  • Memory Safety for the World’s Largest Software Project

    4 projects | news.ycombinator.com | 26 Jun 2022
  • [RFC] Rust support for Linux Kernel

    9 projects | /r/rust | 14 Apr 2021
  • Rust Let-Chains Stabilized

    1 project | news.ycombinator.com | 23 Apr 2025