Rust takes a major step forward as Linux's second official language

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

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

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

  • Well, from the example, I see exactly two unsafe blocks, both quite small. Something like 5 lines out of 175 are unsafe. Looking around the other samples, there's multiple files with no unsafe at all, and I have yet to see one where they just gave up and made a significant chunk of the file unsafe.

  • rustc_codegen_gcc

    libgccjit AOT codegen for rustc

  • The one on the bottom left is mrustc, a compiler which is specifically designed to bootstrap the actual rustc with minimal optimization; it is not general-purpose. The one on the bottom right is rustc_codegen_gcc, an experimental backend that allows rustc to use GCC instead of LLVM; it is nowhere near ready for production right now. The only relevant compilers here are rustc and gccrs, the latter of which is also nowhere near ready for production.

  • 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
  • gccrs

    GCC Front-End for Rust

  • The one on the bottom left is mrustc, a compiler which is specifically designed to bootstrap the actual rustc with minimal optimization; it is not general-purpose. The one on the bottom right is rustc_codegen_gcc, an experimental backend that allows rustc to use GCC instead of LLVM; it is nowhere near ready for production right now. The only relevant compilers here are rustc and gccrs, the latter of which is also nowhere near ready for production.

  • mrustc

    Alternative rust compiler (re-implementation)

  • The one on the bottom left is mrustc, a compiler which is specifically designed to bootstrap the actual rustc with minimal optimization; it is not general-purpose. The one on the bottom right is rustc_codegen_gcc, an experimental backend that allows rustc to use GCC instead of LLVM; it is nowhere near ready for production right now. The only relevant compilers here are rustc and gccrs, the latter of which is also nowhere near ready for production.

  • Rustlings

    :crab: Small exercises to get you used to reading and writing Rust code!

  • Rustlings if you want exercises

  • tour_of_rust

    A tour of rust's language features

  • Tour of Rust if you want quick interactive examples

  • rust-by-example

    Learn Rust with examples (Live code editor included)

  • Rust by example if you want more examples

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • book

    The Rust Programming Language

  • The official book if you want explanations

  • miniserde

    Data structure serialization library with several opposite design goals from Serde

  • winlamb

    A lightweight modern C++11 library for Win32 API, using lambdas to handle Windows messages.

  • I write C++ and raw Win32 for more than 20 years. I'm the author of this, and I'm rewriting my personal stuff in Rust just for fun.

  • winsafe

    Windows API and GUI in safe, idiomatic Rust.

  • I write C++ and raw Win32 for more than 20 years. I'm the author of this, and I'm rewriting my personal stuff in Rust just for fun.

  • min-sized-rust

    🦀 How to minimize Rust binary size 📦

  • trophy-case

    🏆 Collection of bugs uncovered by fuzzing Rust code

  • But to bring some data, check out the fuzz trophy case. It shows that failures in Rust are most often assertions/panics (equivalent to C++ exception) with memory corruption being relatively rare (it's not never—Rust isn't promising magic—but it's a significant change).

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