3 ms·
A cross-platform libc included with LLVM is much needed! Languages like Go, Rust, .. already abstract away arch and OS details, while one of the oldest high-lev
by writepub 7y ago
A cross-platform libc included with LLVM is much needed! Languages like Go, Rust, .. already abstract away arch and OS details, while one of the oldest high-level languages, C is still battling this fundamental requirement.
There's much argument to be made to use the OS specific libc, but that is only for OS specific tasks (ioctl, specific syscalls, etc). If we can make a cross platform libc that implements and abstracts aways the 200 most commonly used syscallc on Linux, I believe 95% of user programs will just work across all OS-es