14 ms·
There's really no need for libc on Linux, each language should just implement it's standard library on top of syscalls. Rustix is a great implementation of tha
by LAC-Tech 3y ago
There's really no need for libc on Linux, each language should just implement it's standard library on top of syscalls.
Rustix is a great implementation of that idea https://docs.rs/rustix/latest/rustix/ https://docs.rs/rustix/latest/rustix/
Any similar projects in other langs?
- Cloudef 3y agoZig's standard library does not use libc
- qweqwe14 3y agoIt 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 https://github.com/sunfishcode/mustang Some discussion here: https://github.com/bytecodealliance/rustix/issues/76 https://github.com/bytecodealliance/rustix/issues/76