Hacker GitHub

← All repos

tsgates/rust.ko

View on GitHub ↗ ★ 923 Rust

A minimal Linux kernel module written in rust.

13 mentions on Hacker News by 12 people: 2 stories, 11 comments · first 2013-05-28 · latest 2021-07-06

Mentions per year 13 mentions · busiest year 2017 (6)
20082026
  1. …Rust in one way or another for kernel purposes, as early as... 2013 (!), e.g. from Taesoo Kim: https://github.com/tsgates/rust.ko/commit/58f0fb8fdf4063f5b24a09cbfeec81bf28a9d81b There were others: John Baublitz had a external kernel module…
    comment by ojeda · 2021-07-06 · in Linux Rust Support
  2. To add to this, I did some browsing and found this: https://GitHub.com/tsgates/rust.ko
    comment by mrlonglong · 2021-04-19 · in First steps with Rust
  3. https://github.com/tsgates/rust.ko implements a simple module in Rust. When you can expose C bindings to your functions and don't need much runtime support, there aren't really many limitations to what you can do.
  4. …seem very interesting. For Linux drivers, there was this exploratory project I saw a while back: https://github.com/tsgates/rust.ko (hasn't been touched in a while). So people are doing it and seem to be enjoying it.
  5. …plain to see that it's possible and performs better in production since it avoids the JIT step. https://github.com/tsgates/rust.ko
    comment by dangisafascist · 2017-07-08 · in Linux tracing systems and how they fit together
  6. …did the research on building a Linux kernel module in Rust, though it seems like quite the hassle: https://github.com/tsgates/rust.ko
    comment by kosinus · 2017-06-28 · in Increasing Rust’s Reach
  7. https://github.com/tsgates/rust.ko#kernel-api-and-abi-stabil...
  8. Rust: https://github.com/tsgates/rust.ko Haskell: https://wiki.haskell.org/Kernel_Modules And you can find a few others.
  9. Upstream? Likely never. Out of tree? https://github.com/tsgates/rust.ko/blob/master/README.md
  10. …has only printf implemented. So yeah it'd be a pretty intense project if one would attempt it :) 1] https://github.com/tsgates/rust.ko
  11. Here's a minimal Linux kernel module in Rust, by the way: https://github.com/tsgates/rust.ko