this post was submitted on 02 Jul 2026
23 points (64.6% liked)

Programmer Humor

32159 readers
1183 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
 
all 26 comments
sorted by: hot top controversial new old
[–] KindaABigDyl@programming.dev 35 points 5 days ago (1 children)

Are they using any original GNU coreutils code as reference? My understanding is nothing is 1:1. They're trying to build, from the ground up, a totally new codebase that has the same user-facing functionality but under the hood is idomatic Rust code (so nothing like the GNU C code)

They are recreating something that matches behavior not using licensed GPL code. Which is the same way the GNU coreutils were a recreation of the proprietary Unix tools in an effort to provide open source alternatives.

Like you wouldn't say "An appropriate amount of work to slap a GPL license on somebody else's work" in reference to GNU recreating the Unix tools, so why say it here?

[–] fruitcantfly@programming.dev 16 points 5 days ago (1 children)

I can't believe that Rust developers would call POSIX functions to interact with the operating system! The audacity!

[–] cockmushroom@reddthat.com -1 points 5 days ago (1 children)

I can, now, but I didn't expect them to be the exact same ones behind this project.

[–] fruitcantfly@programming.dev 12 points 4 days ago (1 children)

You didn't expect them to use the standard low-level, cross-platform API to build cross-platform coreutils?

[–] cockmushroom@reddthat.com -5 points 4 days ago

Next time you pose a rhetorical question, try to make it relevant to the topic at hand

[–] savvywolf@pawb.social 9 points 5 days ago (1 children)

This "someone else" being... A C API header which can't be copyrighted/copylefted anyway?

[–] cockmushroom@reddthat.com 1 points 5 days ago

This is about coreutils, b

[–] somegeek@programming.dev 4 points 4 days ago

Fuck this rust coreutils projects.

I'm sure it's google, meta and some other shits behind it. Otherwise, the creators are just too fucking dumb for licensing their project under MIT.

[–] onlinepersona@programming.dev 6 points 5 days ago (2 children)

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

[–] ace@lemmy.ananace.dev 24 points 5 days ago (2 children)

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

[–] onlinepersona@programming.dev 4 points 5 days ago (1 children)

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

[–] ace@lemmy.ananace.dev 15 points 5 days ago* (last edited 5 days ago)

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

[–] MonkderVierte@lemmy.zip 1 points 4 days ago* (last edited 4 days ago)
[–] cornishon@lemmygrad.ml 3 points 4 days ago (1 children)

What do you think all the command line utils named after linux syscalls are doing if not calling the syscall for you?

[–] cockmushroom@reddthat.com -4 points 4 days ago

Irrelevant unless they're presenting themselves as viable alternatives to a C codebase.