logoalt Hacker News

usrnmyesterday at 5:42 PM1 replyview on HN

> I don't see why I would want to use libc

To make your code portable? Linux-only software is even worse than Windows-only


Replies

koakuma-chanyesterday at 6:15 PM

Let me narrow down the scope here. I am a Rust developer, developing software that will run on my Linux server. Why would I want to use libc? Why does Rust standard library use libc? Zig, for example, doesn't.

show 2 replies