16
top 8 comments
sorted by: hot top new old
[-] stingpie@lemmy.world 2 points 56 minutes ago

I'm not that well versed in rust, is this literally just wrapping the C library in rust, and calling it a rust implementation of it?

[-] flamingos@feddit.uk 4 points 1 hour ago
[-] cockmushroom@reddthat.com 4 points 1 hour ago
[-] flamingos@feddit.uk 3 points 45 minutes ago

So? It's logname, what do you expect, for them to read the bits directly from memory? If you're going to criticise this for anything, it should be that it doesn't support Windows, not that it calls out to libc.

[-] cockmushroom@reddthat.com 1 points 9 minutes ago

See the third clause in the kitty's train of thought. If it's of any consolation to you, I'd never have gone looking if I'd known what to expect.

[-] Magister@lemmy.world 3 points 1 hour ago

yeah, all of this to call libc::getlogin().

[-] four@lemmy.zip 3 points 56 minutes ago

I no longer use any wrappers or utils, they're just bloat. Now I just use my dousing rod to read and set bits in my RAM, way more efficient

[-] JoYo@lemmy.ml 1 points 5 minutes ago

it's wrappers and utils all the way down.

this post was submitted on 02 Jul 2026
16 points (80.8% liked)

Programmer Humor

42653 readers
52 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS