Asahi Lina on her experience writing a driver in rust

This page summarizes the projects mentioned and recommended in the original post on /r/linux

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • book

    The Rust Programming Language

  • Read the rust book, and if/when you’re struggling consult any Python or Ruby tutorial.

  • Rust-for-Linux

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

  • The alloc library is available if a global allocator is available. Rust for Linux implements a global allocator (or, more accurately, hooks into the kernel's existing allocator, in rust/kernel/allocator.rs), and therefore you can use the alloc library in the Linux kernel.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • zig-slotmap

    Arena allocator with generational indices and a secondary map for secondary associations, for Zig Lang

  • I've tried out Zig and it was a fun experiment. Created a slotmap library for it, too. https://github.com/mmstick/zig-slotmap For what it is, the code is quite readable. At the end of the day, however, I wouldn't feel comfortable using it for a project that I want to be reliable or secure. Some of the concepts are really cool, but I can't justify the loss of type safety and borrow checks. I'll take it over C any day though. Memory management is much less prone to error.

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