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 reddit.com/r/programming

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • 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.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • 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

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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