rust to c complication?

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)

  • rustc_codegen_gcc

    libgccjit AOT codegen for rustc

    rustc_codegen_gcc is a GCC backend for Rust (i.e. it uses rustc to parse and typecheck (and other things) the code then uses GCC to compile it into a final executable).

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

  • gccrs

    GCC Front-End for Rust

    GCC-RS is a GCC frontend for Rust (i.e. it's a completely separate compiler to rustc, doing all its own parsing and whatnot).

  • llvm-cbe

    resurrected LLVM "C Backend", with improvements

    One alternative worth mentioning, though, would be the LLVM C Backend maintained by the Julia community.

  • wabt

    The WebAssembly Binary Toolkit

    https://github.com/WebAssembly/wabt/tree/main/wasm2c (WebAssembly to C)

  • retdec

    RetDec is a retargetable machine-code decompiler based on LLVM.

    https://github.com/avast/retdec (multiple machine code formats to C/C++)

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