A pair of Linux kernel modules using Rust

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

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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
  • Rust-for-Linux

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

    https://github.com/Rust-for-Linux/linux/blob/459035ab65c0ebb...

    So accessing an array out of bound will have a runtime check that will call the panic handler, and that panic handler calls BUG() which means kernel panic.

  • absolution

    "Freedom from syn": Proc macro tools for operating on token trees (by Manishearth)

    > That probably will never compile especially quickly.

    Can you link the code? Proc macros are not inherently slow to compile, but most proc macros pull in the `syn` and `quote` crates for convenience, which are fairly heavyweight (and then most people experience proc macros most commonly via Serde, which is doing a ton of work on its own). In simple cases you can forego most of that work, and some libraries like https://github.com/Manishearth/absolution exist as lightweight alternatives in these cases. Depending on what the Asahi driver needs it could also benefit from something like this (although I'm not sure why it would need proc macros when it sounds like conditional compilation via `cfg` would suffice there).

  • no-panic

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

  • MIRAI

    Discontinued Rust mid-level IR Abstract Interpreter

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub 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

  • J4rs – 'Java for Rust' allows effortless calls to Java from Rust and vice-versa

    1 project | news.ycombinator.com | 26 Sep 2024
  • Committing to Rust in the Kernel

    3 projects | news.ycombinator.com | 24 Sep 2024
  • GraalPy – A high-performance embeddable Python 3 runtime for Java

    14 projects | news.ycombinator.com | 17 Sep 2024
  • Deploying Rust in Existing Firmware Codebases

    3 projects | news.ycombinator.com | 5 Sep 2024
  • Show HN: Speeding up Python email validation 1000x

    1 project | news.ycombinator.com | 9 Aug 2024