We have a proposal by @japaric to introduce a new Linux target which will use raw syscalls instead of relying on libc
:
But I wonder if instead of introducing a new target we could migrate existing Linux targets to raw syscalls incrementally? Yes, motivation for it is probably a bit too weak, especially considering the existence of musl target. Apart from really tiny performance improvements and improved portability for some applications, we probably will not get much. And because of things like system allocator, unwinding, hostname lookup, errno
and others, we will not be able to make std
100% libc
-free in several years at least. But still I think it’s worth to discuss.
What do you think?