Live data from Hacker News

Bsdutils: Alternative to GNU coreutils using software from FreeBSD

github.com

21–30 of 85 posts

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

#21

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?

Could we call it GNU-free/Linux?

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

#22
post #14

Earlier quoted context omitted.

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.

But BSD devs have their own argument https://docs.freebsd.org/en/articles/bsdl-gpl/

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

#23
post #5

Earlier quoted context omitted.

It needs a GNU _compatible_ C compiler. You can still use LLVM's Clang.

I'm guessing that it invokes /usr/include which on Linux is probably not neutral to CPP or gnu-isms. Your point about "compatible" is well made. I should have been clearer. Wasn't gentoo born as Linux userspace on BSD kernel at one point?

Gentoo was born as linux. Portage, the package manager, was inspired from BSD ports. Maybe they tried to experiment with also using a BSD kernel later, as did Debian, but it was only a side project.

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

#24
From the comments I see that there are some different coreutils implementations out in the wild, mostly done for fun.

I am very happy about this. This means that there is not much energy put into implementing new coreutils features or fixing bugs. I think this is good. This means they are more or less finished. Mature. Software that is done and usable. That is something outstanding.

This is an example of software that does not need to be in an never-ending flow of changes, not because it is abandoned, but because it is finished. I think we need more of that.

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

#25
post #14

Earlier quoted context omitted.

copy-left licenses are better for users.

But BSD devs have their own argument https://docs.freebsd.org/en/articles/bsdl-gpl/

Yeah. Just look what they got from that. Big corps using their work with hardly any upstream contribution (Apple, Sony, etc). At this rate BSDs will be deader than dead within a few years.

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

#26
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.

20 years from now programming as we know it today will be a very specialized field and not necessary for most things, and language discussions will be a thing of the past.

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

#27
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.

I already thankful for an modern init- and system-management implemented in C, using plain config-files.

Sometimes being slow and careful is wise. Think of XML, hard to read and hard to parse. And an implementation language with broad support and reliability is a good thing for projects which should remain for decades.

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

#30

Earlier quoted context omitted.

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...

GPL v3 is unsable for embedded/locked hardware, e.g. Macbook, Android phones. That's why Mac OS and Android dodged GPL v3 software.
Post reply on HN