Rust to c/c++

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

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

    Alternative rust compiler (re-implementation)

  • There's mrustc, an alternative compiler that uses C code as an intermediate representation, however it isn't complete and I don't know if it supports the latest features.

  • llvm-cbe

    resurrected LLVM "C Backend", with improvements

  • Besides `mrustc` that was mentioned in another comment, you could try emitting LLVM-IR and translating that to C later. Here's a project that attempts this: llvm-cbe.

  • 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