30
you are viewing a single comment's thread
view the rest of the comments
[-] onlinepersona@programming.dev 6 points 4 months ago

Can somebody explain why they are using libc in the first place?

[-] ace@lemmy.ananace.dev 35 points 4 months ago

Because it's a rust implementation of coreutils, and not a rust implementation of coreutils and libc?

[-] onlinepersona@programming.dev 5 points 4 months ago

But why is libc necessary in the first place? Are the functions not provided by the stdlib of rust?

[-] ace@lemmy.ananace.dev 24 points 4 months ago* (last edited 4 months ago)

No, the Rust standard library only contains functions useful for standard Rust, not POSIX/Linux user-space -specific functionality from libc.

this post was submitted on 02 Jul 2026
30 points (64.4% liked)

Programmer Humor

34028 readers
2254 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS