Can Rust do every low level stuff C/C++ do?

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. rfcs

    RFCs for changes to Rust

    There are a few things rust does not support in comparison to c++. Two I personally came across are: 1. placement new (relevant RFC) 2. Fast-math flag (relevant RFC)

  2. SaaSHub

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

    SaaSHub logo
  3. rust

    Empowering everyone to build reliable and efficient software.

    There are a few things rust does not support in comparison to c++. Two I personally came across are: 1. placement new (relevant RFC) 2. Fast-math flag (relevant RFC)

  4. llvm-cbe

    resurrected LLVM "C Backend", with improvements

    You can convert llvm bitcode to C and then use C compiler, there is such project https://github.com/JuliaComputingOSS/llvm-cbe .

  5. unsafe-code-guidelines

    Forum for discussion about what unsafe code can and can't do

    The definition of UB for Rust and C++ is practically the same. My source for this claim are lead maintainers of the Rust project who answer directly to the question in the github issue: https://github.com/rust-lang/unsafe-code-guidelines/issues/253

  6. rust-mos

    Empowering everyone to build reliable and efficient software.

    Thanks to llvm-mos project there is also working rust fork for MOS-6502: https://github.com/mrk-its/rust-mos/tree/mos_target, so you can target 8-bit atari and c64

  7. rustc_codegen_gcc

    libgccjit AOT codegen for rustc

    There is also https://github.com/rust-lang/rustc_codegen_gcc which uses GCC JIT to compile Rust and maybe support all the archs GCC can.

  8. coreutils

    Cross-platform Rust rewrite of the GNU coreutils

    The uutils implementation of stdbuf embeds a tiny bit of C++ code in order to inject code into the very start of another process, before its main runs.

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

  • [Linux] - Just how many C (or worse) programs can you replace with Rust programs (practically) on a Linux box in 2022?

    5 projects | /r/rust | 24 Jun 2022
  • Which Programming Language is the most ideal for CLI tools?

    4 projects | /r/linux4noobs | 31 May 2022
  • Can you use a rust binary crate as a library?

    3 projects | /r/rust | 25 Aug 2021
  • Rust Coreutils 0.0.29 Release

    1 project | news.ycombinator.com | 19 Jan 2025
  • Tauri (2) — Quick Start with Tauri + React (Open Source)

    3 projects | dev.to | 23 Dec 2024