min-sized-rust VS gccrs

Compare min-sized-rust vs gccrs and see what are their differences.

min-sized-rust

🦀 How to minimize Rust binary size 📦 (by johnthagen)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
min-sized-rust gccrs
101 102
7,301 2,246
- 2.7%
6.2 9.9
11 days ago 3 days ago
Rust
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

min-sized-rust

Posts with mentions or reviews of min-sized-rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-18.

gccrs

Posts with mentions or reviews of gccrs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.
  • Why do lifetimes need to be leaky?
    6 projects | /r/rust | 8 Dec 2023
    That's why gccrs doesn't even consider lifetime checking a part of the language (they plan to use Polonius, too).
  • How hard would it be to port the Rust toolchain to a new non-POSIX OS written in Rust and get it to host its own development? What would that process entail?
    3 projects | /r/rust | 5 Jul 2023
    There's ongoing work on a Rust front-end for GCC (https://github.com/Rust-GCC/gccrs). Bit barebones right now -- ie, even core doesn't compile -- but there's funding, demand, and regular progress, so it'll only get better from there. Once gccrs can compile core, it should be ready to compile most of Rust, and thus if you've taught the calling conventions for C to GCC, you're golden.
  • Rust contributions for Linux 6.4 are finally merged upstream!
    6 projects | /r/linux | 1 May 2023
    Do you mean this project https://rust-gcc.github.io/ ?
    6 projects | /r/linux | 1 May 2023
    That is what theyre refering to, yes. The GitHub is named https://github.com/Rust-GCC/gccrs
    6 projects | /r/linux | 1 May 2023
    Unsure currently, but there is project to get gcc to compile rust directly https://rust-gcc.github.io/ that is working to get changes upstreamed.
  • GCC 13 and the State of Gccrs
    3 projects | news.ycombinator.com | 24 Apr 2023
    - But this misses so much extra context information

    3. Macro invocations there are really subtle rules on how you treat macro invocations such as this which is not documented at all https://github.com/Rust-GCC/gccrs/blob/master/gcc/rust/expan...

    Some day I personally want to write a blog post about how complicated and under spec'd Rust is, then write one about the stuff i do like it such as iterators being part of libcore so i don't need reactive extensions.

  • Any alternate Rust compilers?
    10 projects | /r/rust | 10 Apr 2023
    Another upcoming implementation is Rust-GCC. This may help with wider adoption of Rust programs, but it probably won't see much use or support by Rust users. Furthermore, it will probably take some time to be implemented, since writing a compiler frontend is a difficult task.
    10 projects | /r/rust | 10 Apr 2023
    In the future: gccrs (https://github.com/Rust-GCC/gccrs) is making progress, but is not useful now. It will be the first alternative compiler for Rust if/when complete (it probably will be completed because of the whole Rust for Linux effort)
    10 projects | /r/rust | 10 Apr 2023
    (Speaking of which, Rust-GCC (or gcc-rs or gccrs or whichever other of their names they decide is the primary one) isn't even going to be a complete C++ implementation. Their plan is to implement enough to compile Polonius (the NLL 2.0 borrow checker being developed in Rust for rustc) and then share that since borrow-checking isn't necessary for codegen... only to identify and reject invalid programs... making the C++ portion of it not that different in scope from mrustc.)
  • why GNU grep is fast
    8 projects | /r/linux | 22 Feb 2023
    If it were proposed, it may end up being a political issue. GNU wants things under their umbrella to be GNU GPL licensed, and the rust compiler is not. There is work to get a Rust compiler built into gcc, but it's not nearly ready yet.

What are some alternatives?

When comparing min-sized-rust and gccrs you can also consider the following projects:

gcc-rust - a (WIP) Rust frontend for gcc / a gcc backend for rustc

rustc_codegen_gcc - libgccjit AOT codegen for rustc

rustc_codegen_gcc - libgccjit AOT codegen for rustc

mold - Mold: A Modern Linker 🦠

rust - Empowering everyone to build reliable and efficient software.

smartstring - Compact inlined strings for Rust.

Rust-for-Linux - Adding support for the Rust language to the Linux kernel.

polonius - Defines the Rust borrow checker.

mrustc - Alternative rust compiler (re-implementation)

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

c2rust - Migrate C code to Rust