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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • 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)

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

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

  • 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

  • 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

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

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

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