2 ms·
You don't need a C standard library to run programs on Linux (nor any other system). My guess is that the Rust team consider that relying on a well tested C co
by Maken 11y ago
You don't need a C standard library to run programs on Linux (nor any other system).
My guess is that the Rust team consider that relying on a well tested C codebase is safer than writing tons of unsafe platform-specific code, to replace the functionality offered by libc.
Anyway, I think the Redo project do have a Rust standard library that calls directly the OS and doesn’t need a C library, since they are writing a 100% Rust based stack.
- rkangel 11y ago> My guess is that the Rust team consider that relying on a well tested C codebase is safer than writing tons of unsafe platform-specific code, to replace the functionality offered by libc. I'm copying that to my notes to use as a clear and concise explanation to people who want to work 'around' libc.