relibc
Mirror of https://gitlab.redox-os.org/redox-os/relibc (by redox-os)
rust-reduce
`rust-reduce` will try to make the source file smaller by interpreting it as valid Rust code and intelligently removing parts of the code. (by jethrogb)
relibc | rust-reduce | |
---|---|---|
9 | 1 | |
814 | 95 | |
0.4% | - | |
8.9 | 0.0 | |
14 days ago | over 2 years ago | |
Rust | Rust | |
MIT License | GNU Affero General Public License v3.0 |
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.
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.
relibc
Posts with mentions or reviews of relibc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-12.
-
Why does musl make my Rust code so slow? (2020)
That is what Go does. BSDs hate it. https://github.com/redox-os/relibc could be repurposed for this easily enough.
- Bun v0.6.0 – Bun's new JavaScript bundler and minifier
-
Microsoft rewriting core Windows libraries in Rust
A C standard library rewritten in Rust already exists. [0]
glibc has its share of CVEs, and many of the bugs are of the double free, use-after-free, buffer overflow variety. [1]
[0]: https://github.com/redox-os/relibc
-
Linux libs rewritten in rust?
It is entirely possible to write a libc replacement in Rust. In fact, Redox has done so. There is nothing preventing that library from providing a POSIX interface both to C programs and to the Rust libc FFI crate.
-
How do I use Zig as Rust's Standard C Library?
This is more a Rust question than a Zig question. In Rust, the choice of a specific libc (or to not use a libc) is part of the "target", for example many hardware platforms have gnu/musl/none targets. See also relibc or mustang for pure-rust alternatives. Each libc alternative require some work to integrate into Rust.
-
Rust Compiler Ambitions for 2022 | Inside Rust Blog
There have been a few attempts to replace libc, at least on Linux - for example Rustix, and Relibc.
-
Porting Rust's Std to Rustix
There is in fact already a library that does that https://github.com/redox-os/relibc
-
is there a musl implementation in Rust ?
There's relibc.
- Relibc: Portable Posix C standard library written in Rust
rust-reduce
Posts with mentions or reviews of rust-reduce.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-22.
-
Rust Compiler Ambitions for 2022 | Inside Rust Blog
And also of course at https://github.com/jethrogb/rust-reduce/
What are some alternatives?
When comparing relibc and rust-reduce you can also consider the following projects:
mustang - Rust programs written entirely in Rust
rustc_codegen_gcc - libgccjit AOT codegen for rustc
rustix - Safe Rust bindings to POSIX-ish APIs
compiler-builtins - Porting `compiler-rt` intrinsics to Rust
DustMite - General-purpose data reduction tool
rust - Empowering everyone to build reliable and efficient software.
cross - “Zero setup” cross compilation and “cross testing” of Rust crates
mold - Mold: A Modern Linker 🦠
ziglibc