rustix
relibc
rustix | relibc | |
---|---|---|
15 | 9 | |
1,324 | 814 | |
2.0% | 0.4% | |
9.3 | 8.9 | |
6 days ago | 11 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | MIT License |
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.
rustix
-
OpenBSD 7.5 Released
It would be great for Rust to have a Linux target that doesn't use libc, but from what I've read, not many people are interested in this.
Found this as well: https://github.com/sunfishcode/mustang
Some discussion here: https://github.com/bytecodealliance/rustix/issues/76
-
Rust criticism from a Rustacean
Without actually having looked into this, how does https://github.com/bytecodealliance/rustix fit into points 1 & 2?
-
Cargo build in debug taking longer than in release?
I find this github issue: https://github.com/bytecodealliance/rustix/issues/575
-
Integrating rustix on NuttX
Hi Rust experts, we are willing to integrate rustix on NuttX RTOS, the initial effort was done by rustix author: https://github.com/bytecodealliance/rustix/tree/nuttx but it hit the wall since we don't know the right way to integrate cargo with the old-school NuttX's Makefiles. Any help or suggestion is welcome. More about NuttX here: https://nuttx.apache.org and here: https://nuttx.apache.org/docs/latest/
-
Pgwm 0.3 a pure rust `no_std` no libc window manager.
Have you considered using rustix? It provides many of the facilities of std without using libc.
- NVIDIA Security Team: "What if we just stopped using C?" (This is not about Rust)
-
Will Rust drop dependency on libc and make direct system calls? when ? (Please don't mention no_std case)
rustix can make syscalls directly to Linux. There's a rustc fork that can use it to build std.
-
Can rust be entirely written in rust and drop C usage in its code base ?
The rustix project claims to use raw syscalls (and vDSO calls) on linux and provides more memory / type safety compared to the libc API.
-
memmapix: A pure Rust library for cross-platform memory mapped IO, which replace libc with rustix.
Hi, the reason is explained by the description of https://github.com/bytecodealliance/rustix.
-
What crates would you add to a "batteries-included" library for Rust?
Please consider rustix as an alternative to nix.
relibc
-
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
What are some alternatives?
liblinux - Linux system calls.
mustang - Rust programs written entirely in Rust
clap-rs - A full featured, fast Command Line Argument Parser for Rust
compiler-builtins - Porting `compiler-rt` intrinsics to Rust
rust - Empowering everyone to build reliable and efficient software.
libc - Raw bindings to platform APIs for Rust
cross - “Zero setup” cross compilation and “cross testing” of Rust crates
ziglibc
rust-brotli - Brotli compressor and decompressor written in rust that optionally avoids the stdlib
mold - Mold: A Modern Linker 🦠