2 ms·
The question that popped into my mind is rather: why does Rust rely on the C stdlib at all (e.g. why even call into musl or glibc). Shouldn't the Rust stdlib im
by flohofwoe 3y ago
The question that popped into my mind is rather: why does Rust rely on the C stdlib at all (e.g. why even call into musl or glibc). Shouldn't the Rust stdlib implement its own allocator which directly requests memory from Linux via syscalls?
- Ericson2314 3y agoThat is what Go does. BSDs hate it. https://github.com/redox-os/relibc https://github.com/redox-os/relibc could be repurposed for this easily enough.