Live data from Hacker News

Bsdutils: Alternative to GNU coreutils using software from FreeBSD

github.com

11–20 of 85 posts

Re: Bsdutils: Alternative to GNU coreutils using software from FreeBSD

#11

What would be an advantage of switching from GNU coreutils to BSD coreutils? Doesn't GNU utils have more features?

I can think of a few

No copy-left license?

Compatibility on Linux with BSD-like operating systems such as FreeBSD, MacOS?

To annoy Richard Stallman?

Re: Bsdutils: Alternative to GNU coreutils using software from FreeBSD

#13
post #7

If I was going to replace coreutils, I think I'd do it with the ones rewritten in rust.

30 years ago people planned rewrite stuff written in C in C++.

20 years again people wanted rewrite stuff written in C/C++ in Java.

Now people wanted to rewrite stuff written in C/C++/Java in Rust.

Meanwhile core infrastructure of humanity still runs on COBOL, C, C++, Java in that order.

20 years from now people ask AI to rewrite all stuff written in C/C++/Java/Rust and it picks ADA SPARK as implementation language.

Re: Bsdutils: Alternative to GNU coreutils using software from FreeBSD

#14

What would be an advantage of switching from GNU coreutils to BSD coreutils? Doesn't GNU utils have more features?

I can think of a few No copy-left license? Compatibility on Linux with BSD-like operating systems such as FreeBSD, MacOS? To annoy Richard Stallman?

copy-left licenses are better for users.

Re: Bsdutils: Alternative to GNU coreutils using software from FreeBSD

#15

What would be an advantage of switching from GNU coreutils to BSD coreutils? Doesn't GNU utils have more features?

I can think of a few No copy-left license? Compatibility on Linux with BSD-like operating systems such as FreeBSD, MacOS? To annoy Richard Stallman?

> No copy-left license?

Are you planning to make proprietary changes to `cat` you are unwilling to share?

> Compatibility ...

GNU coreutils work fine on all the mentioned plattforms

> To annoy Richard Stallman?

Not really sure if pettiness would be sufficient motivation for me, but then again, I'm writing this response...

Re: Bsdutils: Alternative to GNU coreutils using software from FreeBSD

#16
post #13
post #7

If I was going to replace coreutils, I think I'd do it with the ones rewritten in rust.

30 years ago people planned rewrite stuff written in C in C++. 20 years again people wanted rewrite stuff written in C/C++ in Java. Now people wanted to rewrite stuff written in C/C++/Java in Rust. Meanwhile core infrastructure of humanity still runs on COBOL, C, C++, Java in that order. 20 years from now people ask AI to rewrite all stuff written in C/C++/Java/Rust and it picks ADA SPARK as implementation language.

You forgot Fortran!

Re: Bsdutils: Alternative to GNU coreutils using software from FreeBSD

#20

What would be an advantage of switching from GNU coreutils to BSD coreutils? Doesn't GNU utils have more features?

I had compared a couple of coreutils with their BSD counterparts for a personal project. Anecdotally, the BSD versions had much more readable code and less compiler/preprocessor black magic. Which also makes them easier to build with non-GNU toolchains (perhaps not out-of-the-box, but with less effort anyway). So, overall they would seem a better match for learning/diy purposes.

Poor choice of name though. Debian has a bsdutils package since forever [1].

[1] https://packages.debian.org/sid/bsdutils

Post reply on HN