r/programming • • Jun 01 '11

How much GNU is there in GNU/Linux?

http://pedrocr.net/text/how-much-gnu-in-gnu-linux
96 Upvotes

226 comments sorted by

43

u/slammaster Jun 01 '11

That's why I prefer to call it GNU/KDE/java/gnome/xorg/LINUX

Just easier really

11

u/ErroneousBee Jun 02 '11

You do realise the 6% Java contribution is just a helloworld.java example.

8

u/formercedric Jun 02 '11

This article is poorly-named. It's about Ubuntu, not GNU/Linux. Ubuntu may well be GNU/Java/Gnome/Xorg/blahblahblah. But GNU/Linux is just GNU and Linux.

5

u/SCombinator Jun 02 '11

Point me towards this magical GNU/Linux distro, and then tell me that RMS has never called1 ubuntu GNU/Linux

.1 Nor insisted others call...

3

u/formercedric Jun 02 '11

Ubuntu is a distribution based on the GNU/Linux operating system plus many other things. What's so hard to understand about that?

0

u/synthespian Jun 07 '11

The hard part is trying to understand what's so GNU about it.

3

u/sinisterstuf Jun 05 '11

GNU/KDE/java/gnome/xorg/LINUX

Hi, I'd just like to point out that GNOME is part of GNU, the G in GNOME stands for GNU.

So especially when you're using a distribution that uses GNOME for the Desktop Environment you're using a lot of GNU, apparently without knowing it, which is sad.

30

u/[deleted] Jun 01 '11

13

u/shillbert Jun 01 '11 edited Jun 01 '11

Hey, you didn't make it recursive. Theroetically, there is no GNU in GNU, since the G keeps breaking down recursively into an N, a U, and (an N, a U, and (and N, a U, and (...))).

http://i.imgur.com/NlY7q.png

11

u/[deleted] Jun 01 '11

*for composition of gnu slice, see gnu composition chart

0

u/MidnightTurdBurglar Jun 07 '11

Need proper two color version.

7

u/[deleted] Jun 01 '11

If you count how it is produced, almost all of it (throught GCC)

9

u/brotat Jun 01 '11

So Lord of the Rings should be a HoughtonMifflin/Tolkien novel?

14

u/[deleted] Jun 01 '11

I thought GNU would be more? I guess it depends on how you count it. Richard Stallman gave Linux the toolset to build stuff in Linux and Linux itself. I guess if you count all the code compiles by GCC, uses emac, or use GNU libraries it would be a different picture.

The only thing he never got going is his dream OS, because he's trying to build the cathedral with so much politics.

9

u/the-fritz Jun 02 '11

You shouldn't forget that the GNU GPL is also very important for the success of Linux.

4

u/elder_george Jun 01 '11

Some of Linux code can be built with toolchains other than GCC (e.g. clang). But surely, other portions of it depend on nonstandard GCC extensions and are useless (or require rewrite) without GCC.

14

u/[deleted] Jun 01 '11

clang supports a lot of the nonstandard GCC extensions already. It is meant to be usable as a drop-in replacement.

16

u/[deleted] Jun 01 '11

AFAIK, Linux kernel was successfully built using Intel's C compiler which supports gcc extensions

11

u/anttirt Jun 01 '11

Not to a terribly large degree. Clang was able to compile the Linux kernel half a year ago, for example, which uses a lot of nonstandard GCC extensions.

5

u/RiotingPacifist Jun 01 '11

There were a couple of major issues, I'm not sure if they ever got fixed

* Boot - The very early kernel boot code breaks with clang, because of obscure
inline assembly GNUtensions (.code16gcc stuff). I have no clue what needs to
be done to fix this, but as I actually know where this problem is, it should
be (relatively) easy to fix.

Crippling Problems
==================

* Modules - Module loading is totally broken. I'm pretty sure I just figured
out why, though (I'd elaborate, but this is pretty lengthy, and I might as
well just go implement it).

1

u/tanishaj Jun 02 '11

It sounds like the "crippling problems" above have been addressed. The "boot" issues surrounding real mode assembler remain but it sounds like there is a plan to address them.

http://lwn.net/Articles/441018/

The article says that Xen will not build but one of the comments says that patches have been submitted to fix this as well.

It seems that this is an area of active interest. It looks like a Clang-compiled Linux kernel will not be such an exotic beast in the near future.

https://github.com/lll-project/kernel

5

u/rlbond86 Jun 01 '11

Or because he's a shit who is impossible to work with and wants his name on everything.

28

u/AReallyGoodName Jun 02 '11

An honest title would be "Hey look how small the GNU slice is after i installed gigabytes of non-essential apps!"

Just look at the Kernel and the GNU portions. They are about equal. GNU makes up 50% of GNU/Linux. Stallman isn't wrong in wanting some credit there.

The Kernel and the GNU tools are the basis of the system and they rely on each other. I've never seen the Kernel running without some GNU parts attached. The bootloader alone is typically GNU Grub. Then there's the C runtime library (essential), the compiler, the coreutils and the shell that GNU provides.

Mozilla, KDE, gnome, java, and "other" installed apps are totally irrelevant. They've only been included to make the GNU slice appear smaller.

In other news Windows takes up <1% of my hard drive. Why is it called "Windows"? It should be called "Porn".

2

u/some_dev Jun 02 '11

It really comes down to what you consider part of the "OS." I'd say that a window manager and basic desktop environment is definitely part of it, but you're right that trawling the entire repository (as far as I can tell he didn't install this stuff) also doesn't paint a very accurate picture. Also, size of the program isn't nearly as important as how pivotal it is to the distro. How hard is it to replace Firefox? How hard is it to replace gcc?

I don't support RMS's GNU/Linux crusade but I do want to look at this objectively.

10

u/Peaker Jun 01 '11

He contributed the significant chunk of code, and asked for a bit of recognition in return.

Who's the shit, really?

-1

u/Solon1 Jun 01 '11

I don't think Richard wrote that much code. He worked on gcc 1.0, but gcc was nearly completely rewritten for gcc 2.0. He certainly didn't contribute as much as the current gcc developers, which are unrecognized.

17

u/AReallyGoodName Jun 02 '11

It isn't Stallman/Linux, it's GNU/Linux.

I don't see how he's taking any credit over the other developers of GNU. He's simply asking for recognition of the GNU project. Which is deserved.

1

u/semi- Jun 02 '11 edited Jun 02 '11

And most people instaling Ubuntu find gnome to be just as invaluable, if not more so, should they call it G/GNU/Linux? No, because thats silly.

I don't think anyone is truely arguing that GNU isn't contributing a sizable chunk to the Linux userspace, the real argument is is it worth giving up any marketability in your name to appease someones ego? I don't think it is. If someone cared, they could check the readmes or license files. If Stallman really cared, he should have included something in the license about all projects utilizing this code need to include GNU in the name. Something tells me adoption would not have skyrocketed the way it did, though.

Edit: Also, lines of code is too impacted by coding style, bloat, etc. I'd rather see them use an Ubuntu system for a month while tracing program execution, and see total userspace time split amongst projects. Something tells me GCC et all will be much lower on the list than say Firefox or Pidgin. And yes, you can ask if those projects would exist without GNU(probably not), but I'd just ask if the average user would care about GNU in the event that those projects never existed? No, they'd still be running IE.

1

u/Peaker Jun 02 '11

It's not about Ego -- it's about freedom. GNU was created for software freedom, and only for that purpose. Stallman hates to see it being utilized for minimal practical gain, while completely ignoring the entire purpose it was created for.

1

u/Aninhumer Jun 02 '11

Well if he didn't want people to use it freely, he shouldn't have made it free.

1

u/semi- Jun 02 '11

Just not the freedom to call your project whatever you want.

4

u/Peaker Jun 02 '11

Stallman is all for the freedom to call it what they want -- it's just that he thinks they're being jerks when they do so.

3

u/sinisterstuf Jun 05 '11

Considering that GNU was a complete OS except that it's kernel wasn't done, it's quite unfair, after adding the Linux kernel, for people to start referring to that same OS as Linux, don't you think?

Imagine you'd almost completely finished building a house (laying the bricks yourself etc) but you don't know how to make windows so now this other guy comes in and makes and puts windows in your house for you and because of this everyone starts calling it Windows instead of House, how is that right?

1

u/bonzinip Jun 02 '11

GNOME is GNU.

2

u/sinisterstuf Jun 05 '11

Exactly, that's what the G in GNOME is!

0

u/barsoap Jun 02 '11

...as if Stallman had the idea of making GIMP, subsequently replacing motif with the newly-written GTK (which still does stand for "GIMP Toolkit" and then building Gnome on top of it. He got the whole thing pushed up his arse.

GNU has degenerated into a project management club with copyright assignment. I think we shall, from now on, call Linux GNU/GitHub/SourceForge/Linux.

5

u/bonzinip Jun 02 '11

...as if Stallman had the idea of making GIMP, subsequently replacing motif with the newly-written GTK (which still does stand for "GIMP Toolkit" and then building Gnome on top of it.

So what? People recognized the importance of the GNU umbrella and accepted the rules that came with it. This doesn't make GNOME or the GIMP any less GNU.

→ More replies (3)

3

u/mcguire Jun 01 '11

Wait, the kernel is 8% of the distribution? The kernel source isn't that big, is it?

3

u/__s Jun 01 '11

6%, as he includes the kernel's dependencies

3

u/rafekett Jun 02 '11

The Linux kernel has almost 15 million lines of code. Much of it is because the kernel has to support so many different architectures and devices, but it's still one of the largest open-source projects (if not the largest).

3

u/formercedric Jun 02 '11

So, by ignoring Gnome in its entirety, he has shown that GNU comprises just under half of GNU/Linux. That certainly makes a compelling case for not calling Ubuntu GNU/Ubuntu, but then nobody does that anyway. What is this article really supposed to prove?

28

u/king_of_blades Jun 01 '11

Measuring programming progress by lines of code is like measuring aircraft building progress by weight.

-- Bill Gates

25

u/knipil Jun 01 '11

Except he's not measuring progress but size. Most people - including myself - would probably agree that it's an awful measure for programmer productivity, but for project size I'd say it's pretty accurate. Especially since we're not comparing apples and pears here - the projects in this analysis are all C or C++ (and possibly some java).

3

u/SCombinator Jun 02 '11

There are certainly better measures out there, but none so simple.

Cyclical complexity, AST size, or even tfidf scores of tokens.

Heck, executable size is better.

4

u/lyktstolpe Jun 01 '11

Why is size a relevant parameter btw?

7

u/overcyn2 Jun 01 '11

because thats what he's interested in.

I decided to satisfy a simple curiosity and figure out how much GNU software is actually part of a modern distribution.

18

u/dicey Jun 01 '11

I think it's still not a valid metric, though. Okay, so glibc is 9% of the LOC of the packaged GNU software, which is 8% of all of the LOC in main, so glibc is 0.72% of Ubuntu's main LOC.

But, essentially everything in main is linked against glibc. So it's a pretty freaking essential piece of the system.

3

u/shillbert Jun 01 '11

Definitely should've done a dependency graph.

2

u/[deleted] Jun 01 '11

Because size is related to the time and effort put into programming work.

4

u/lyktstolpe Jun 01 '11

No, sorry that's not the case.

3

u/RobbieGee Jun 02 '11

Just confirming what you say. A colleague of mine spends a lot of time just shrinking the amount of code in a project. He's had a good day if the codebase is noticeably smaller than it did in the morning.

6

u/Peaker Jun 01 '11

It is definitely correlated at some level. Perhaps a low level, but probably not that low.

4

u/lyktstolpe Jun 02 '11

I'm sure there is a correlation for some subsets of code. But consider DSP algorithm development for example, where several man years can be put into an algorithm, which is then optimized for size and implemented in a few klocs. Compare that with a simple text editor written by a novice churning out the same amount of code in a couple of months. What is the correlation between code size and effort (or value)?

3

u/discotent Jun 02 '11

A correlation is still a correlation even if a few data points don't fit the trend. Statistics!

2

u/FeepingCreature Jun 06 '11

No no you have your words wrong.

That's not a correlation. That's a fabrication. Get it right.

1

u/[deleted] Jun 01 '11

But it is. It's not related to productivity or usability of the code, but it certainly is related to work. Especially if you count the lines over several programs.

Of course, more accurate way to count lines would be to count every line committed to version control system.

-1

u/sidneyc Jun 02 '11

Quoting Bill Gates on anything related to software quality is like quoting Pol Pot on the value of human rights.

7

u/satayboy Jun 01 '11

Wait, I thought all of GNU/Linux was stolen from SCO.

1

u/atred Jun 02 '11

no, only the Linux part :D

7

u/Sailer Jun 01 '11

A snapshot is a bit deceiving whereas a videography showing the relationship between Linux and GNU software over the past 25 years would tell us something far more revealing about the interplay of these two bodies of software, foremost being the way that Linux was able to grow because of the support and complementary effect of GNU software, which had a 7 year head start on Linux and provided the license, the development environment and what we call the userland for Linux. The development of Linux was able to be much more focused because it was able to rely on the GNU components that were already in place.

6

u/borud Jun 01 '11

A friend of mine not only did that exercise 12-13 years ago, but also confronted Stallmann with the results. I can't remember the numbers but I remember the conclusion: the X11 code was a much bigger part of a Linux distro than the GNU software.

I don't remember Stallmann's response, but have a vague memory of him serving up some line of reasoning concluding that GNU was somehow more deserving of being part of the name.

I respect Stallmann, but he is wrong in calling it GNU/Linux. You don't take credit for other people's work. Simple as that.

3

u/sinisterstuf Jun 05 '11 edited Jun 05 '11

I respect Stallmann, but he is wrong in calling it GNU/Linux. You don't take credit for other people's work. Simple as that.

Exactly! And that's why it's called GNU**/Linux** not GNU. To give credit!!!

4

u/Sailer Jun 01 '11

And how does Richard's use of the term GNU/Linux indicate that he is taking credit for someone else's work? Is the Linux kernel Linus' work? I have read in several places that he doesn't really contribute any code to Linux anymore. So by calling something that he used to work on by the same name that he calls something he no longer writes any code for to be construed as Linus taking credit for other people's work?

4

u/awj Jun 01 '11

That's a bit of muddied logic there.

And how does Richard's use of the term GNU/Linux indicate that he is taking credit for someone else's work?

The 'Linux' part is trying to take credit for it. Most projects depend heavily on outside tools, that doesn't mean those tools are or should be mentioned in the project name. Mercurial is not "Python/Mercurial", it's just "Mercurial".

The GNU tools that Linux employs do rightfully deserve recognition, but not in the project's name.

Is the Linux kernel Linus' work?

Linux was named when Linus was the sole person working on it. It then grew into a much bigger project, and no one has felt the need to go through the trouble of rebranding it.

As an aside, Linus still spends a lot of time reviewing and applying patches to Linux, he's still a very important part of the project.

So by calling something that he used to work on by the same name that he calls something he no longer writes any code for to be construed as Linus taking credit for other people's work?

I suppose in some ideal world this would be an issue. In practice the pain involved in rebranding a project isn't worth ensuring the name fully recognizes everyone involved.

6

u/namekuseijin Jun 01 '11

Stallman doesn't want any credit for Linux the kernel, just for Linux the complete OS, with grub, sysinit, shell, Gnome and many background tools not visible by users.

6

u/awj Jun 02 '11

Yeah, I've heard that one before. Unfortunately for the FSF, and all of the other great non-gnu projects Linux depends on, people have chosen "Linux" as the term to refer to the OS. Trying to "correct" that usage in the face of other contributors to the ecosystem and popular convention comes off as self-centered and juvenile.

I'm pretty confident that every moment spent trying (typically, failing) to correct people on the name is wasted effort that could be better spent on tasks that have some hope of furthering their causes.

1

u/sinisterstuf Jun 05 '11 edited Jun 05 '11

Imagine you had written a program that is used to do accounting and related things and print reports and export them to PDF, which saves its data in XML files. You don't have a component that read/writes XML files though, you started working on one and it's not done, but you know someone (maybe called Peter) who is working on something that does just that and you both agree that you can use Peter's XmlReadWriter so that your project can be complete.

You release this software under the name SuperAccountant but everyone who uses it or depends on it calls it XmlReadWriter! Would I be right in calling you self-centered and juvenile if you tried to convince them to call it SuperAccountant instead, even though that's what it is?

To bring my example even closer to the real world situation, imagine that you actually helped Peter to write the component that does the XML read/write and provided him with the tools he needed to do it. Of course, being a nice guy you decide that because you're using Peter's XmlReadWriter you'll actually rename your whole project and now call it SuperAccountant/XmlReadWriter to give him credit. Although this wasn't what it was originally called it still gives a good reflection of what it is and gives credit to Peter. However, everyone refuses to call it this; they prefer to call it XmlReadWriter for marketing purposes, it's shorter and "doesn't confuse people about what it is".

How would you feel?

0

u/awj Jun 06 '11

That's a cute analogy, but (like the GNU-Linux issue) misses the point. For those technically minded enough to understand the system, there's no need to tell them XmlReadWriter is a small part of SuperAccountant. For the rest, the difference between XmlReadWriter and SuperAccountant is too abstract and technical to meaningfully distinguish.

In consistently dragging the subject out you either are patronizing those knowledgeable enough to understand the situation or confusing those who don't understand the basis of your arguments. In either case your actions hurt your position in any other arguments you attempt to make.

So, yes, I believe it is self-centered and juvenile behavior. That is quite possibly the kindest characterization of doggedly fighting this already-lost battle that I could possibly come up with.

1

u/sinisterstuf Jun 06 '11

In that case shouldn't GNU be called GNU instead of Linux or GNU/Linux? In the same way that Android is called Android and not Linux or Android/Linux?

1

u/sinisterstuf Jun 05 '11

Or:

*for GNU/Linux the complete OS

?

3

u/sinisterstuf Jun 05 '11

And how does Richard's use of the term GNU/Linux indicate that he is taking credit for someone else's work?

The 'Linux' part is trying to take credit for it. Most projects depend heavily on outside tools, that doesn't mean those tools are or should be mentioned in the project name. Mercurial is not "Python/Mercurial", it's just "Mercurial".

I think you're looking at this the wrong way.

To follow from your example, if Mercurial contributed significantly to Python (which I believe it doesn't, but that's not the point) then Python might be kind enough to rename their project to Python/Mercurial to give credit to the contribution while Mercurial is still called Mercurial.

This is analogous to GNU being renamed to GNU/Linux to give credit to the contribution of Linux while Linux (the kernel alone) is still just called Linux. That's not renaming the Linux project at all, just like Mercurial hasn't been renamed Python/Mercurial. It is as wrong to call the GNU operating system Linux as it is to call the Python programming language Mercurial.

0

u/awj Jun 06 '11

I think you got my example backwards. It was GNU <-> Python, Linux <-> Mercurial.

3

u/sinisterstuf Jun 06 '11

No, I understood your example, if you think I got it backwards it's because you disagree with me that you were looking at it the wrong way. I think it was (for my point at least) a bad example because people don't necessarily use Mercurial with Python, whereas they do necessarily use Linux with GNU.

Instead consider Android, an OS that (like GNU) is also used with the Linux kernel, yet Android is called Android not Linux. Why is GNU (or GNU/Linux to show that it's being used with the Linux kernel) called Linux and not GNU?

1

u/awj Jun 06 '11

people don't necessarily use Mercurial with Python

Really? How do they do this if Python is a core requirement for Mercurial to function. It's written in Python and heavily uses the Python runtime/standard library. You literally cannot use Mercurial without Python.

Please, continue to tell me I don't understand your point, ignore me correcting what looks like your misunderstanding, then go on to restate the situation in a way that harshly suggests you in fact do not understand what I meant.

I get your point, but A) telling me that I'm only disagreeing because I don't understand my own example is a quick way to ensure I will never agree with you and B) you're fighting a battle that's already lost.

The GNU tools may be a bigger part of any Linux-based OS than the Linux kernel, but this is the name that took. Look at the history of renaming projects and tell me how likely this is to succeed. Now look for any history of changing a name used to refer to a nebulous collection of projects and tell me how likely that is to happen. Time spent on this task is time wasted, which is a shame when there are many other things for FSF/GNU to be doing with their time.

2

u/sinisterstuf Jun 06 '11

You literally cannot use Mercurial without Python.

I'll be honest, I haven't used it and I don't know a lot about it, but according to Wikipedia it can be used with C too.

A) telling me that I'm only disagreeing because I don't understand my own example is a quick way to ensure I will never agree with you

That's not what I was saying at all. I'm sorry if I offended you, I didn't mean you didn't understand your own example, what I was trying to say was that I don't think it's an accurate reflection of the way things really are and that it was a bad idea for me to use your example because your example was backing your point, not mine.

What's your response to Android/Linux?

I get your point

What is my point?

3

u/awj Jun 06 '11

I'll be honest, I haven't used it and I don't know a lot about it, but according to Wikipedia it can be used with C too.

Portion of Mercurial are written in C for speed / low level access. The vast majority of it is written in Python.

Your point, as I understand it, is that bundling the Linux kernel together with the GNU toolchains et. al. and calling the whole thing "Linux" is unfair to GNU. GNU projects make up a significant portion of the whole thing-that-has-been-created, and yet they are not given credit.

My point is that the window for this argument has long passed. People know the Linux kernel + GNU userland/tools + other miscellaneous bits as "Linux". Convincing them to change it now will be close to impossible, especially when you consider how difficult it is to define what an "operating system" is.

As for Android/Linux, I see nothing wrong with it. Anyone who knows much about the internals of Android knows that Linux (as well as the GNU userland/tools) plays a big part. For everyone else the distinction is probably too technical to make meaningful.

→ More replies (0)

1

u/Solon1 Jun 01 '11

It is important to remember that the GNU Project has been building their own GNU kernel for the past decade, to replace the Linux kernel. They deemed the Linux kernel to be obsolete and legacy. So much for GNU support for Linux. The GNU project is just so poorly organized that the Hurd project never went anywhere. But to this day, they are still working on it.

4

u/rasherdk Jun 02 '11

the GNU Project has been building their own GNU kernel for the past decade, to replace the Linux kernel

Try two decades. GNU Hurd was already started before Linus wrote a line of code.

2

u/Sailer Jun 02 '11

I've heard a lot of different descriptions of all of the activity and software associated with The Free Software Foundation's GNU project but poorly organized is one I haven't heard before. I judge such a description to be not only petty, but also wholly inaccurate. The Hurd's acknowledged incomplete state is not at all typical or indicative of the vast array of software that has come out of The GNU Project and your statement that it is can only be construed as dismissive and fraudulent.

0

u/barsoap Jun 02 '11

poorly organized is one I haven't heard before

It's poorly organized as it's a bureaucratic nightmare. You have to send in TPS reports on dead paper (three copies, of course) to document you're adhering to mindboggingly stupid "conventions". And that's just the start of it.

-1

u/Solon1 Jun 02 '11

You should apply to Fox News. The absence of statements about the lack of organization on the GNU Project towards Hurd, doesn't prove anything. But 20 years of work, and at least three different re-architectures, shows that the Hurd project is disorganized, and is probably irreparably damaged.

2

u/Sailer Jun 02 '11

We're actually talking about the GNU project here, not Hurd.

Do you understand the concept of a 'discussion focus' and the practical benefit of not changing the topic every time you begin a new sentence?

-3

u/borud Jun 02 '11

The Linux kernel is the product of all the Linux kernel hackers contributions. Richard Stallmann is not one of them. Nor has he ever provided any leadership of the Linux kernel development. He came in much later and wanted to put "his" name on a successful project.

2

u/sinisterstuf Jun 05 '11

That's why he's not asking to rename the Linux kernel or the Linux project. Linux is still Linux. What would be nice though, is if the GNU operating system could be called GNU/Linux instead of Linux.

3

u/Sailer Jun 02 '11

You must be a genius.

Look up the License which Linux carries sometime and let me know what you find, ok?

Stallman had already won the MacArthur Foundation Fellowship before Linux ever existed. He also holds the ACM Grace Hopper Award, the Electronic Frontior Foundation's Pioneer award and shares the Takeda Award for Social/Economic Betterment with Torvalds & Sakamura. Then there are several honorary doctorates: The Royal Institute of Technology in Sweden, The University of Glasgow, The Free University of Brussels and The Universidad Nacional de Salta (Argentina). Then there's The Norbert Wiener Award of the Computer Professionals for Social Responsibility, which he accepted on behalf of the Free Software Movement and the Yuri Rubinski memorial award. He is an elected member of The US National Academy of Engineering and of The American Academy of Arts and Sciences.

What role does the GNU project play in relation to Linux (and BSD, too)? Well, it allows control of the kernel in ways so complex that it would take a book to even mention them all.

And you would dismiss Stallman as a wannabe. I think you've told us nothing about Stallman, but a great deal about the kind of person you yourself are.

-1

u/borud Jun 03 '11

so by your logic, if we count the number of honors won by Stallmann, he must obviously be right in everything he says? seriously? did you really just make that argument?

and please do not project figments of your imagination onto me as "opinions". if you are intellectually malnourished to the point where you think that disagreeing with someone on one issue automatically implies the rejection of everything they stand for and everything they have done, you have a lot of maturing to do.

and if you are curious: me and my colleague discussed this with him face to face, came to the conclusion that we disagreed and then went to have a nice quiet lunch together. like civilized people. (if memory serves they were serving cold-cuts of moose meat. I don't remember if we got RMS to eat any of it though)

1

u/Sailer Jun 03 '11

Your statement that RMS "came in later and wanted to put his name on a successful project" is inane, and I explained why.

I was giving seminars at IBM, NCR and a lot of companies that no longer even exist, or were absorbed into other companies before you were even born, I suspect. If I told you my real name you would probably soil yourself. Give it up with your moose meat already.

1

u/borud Jun 05 '11

You didn't explain anything. Like some naive child you wandered into the conversation, enumerated a list of honors bestowed upon RMS at various points in his life and pathetically assumed that this constituted an "argument".

RMS did not directly support the Linux project. Only when it was abundantly clear that Hurd wouldn't make it and Linux was already a success did he make his dick move and slap the "GNU/" prefix onto something he didn't make.

Nobody is denying that his work through the FSF was an inspiration and that Linus Thorvalds was smart to choose the GPL (although I suspect he probably didn't fully understand the implications at the time). But then again, you don't see Sonny Bono's family pestering Disney about renaming Mickey Mouse in Sonny's honor for extending copyright...

It is cute that you are trying to intimidate me with your "credentials". What on earth makes you think I care who you are, say you are or think you are? What you need to ask yourself is that if you used to be such a superhero (as you no doubt are about to tell me) -- how come you are such a loser that you feel you need to "impress" people on Reddit now?

→ More replies (3)

3

u/rpd9803 Jun 01 '11

How to you measure significance? LOC? Filesize? Number of files?

Even still, today's measures are irrelevant, what matters is that when the kernel needed a license, compilers, userland, etc., the GNU tools were there.

-1

u/borud Jun 02 '11

Significance is hard to measure, and as you point out, just counting lines of code is a bad metric for measuring a number of things. Including significance.

Interestingly, my friend was a contributor to the Linux kernel. I think the contribution he made that mattered the most to most people was probably only a handful of lines of code. Some time in the 90s he optimized the code that copies and checksums TCP packets and achieved a significant speedup. So it isn't like he was under any illusion that a mere line count was a good metric of significance.

Most of all this is about not being a dick. And prefixing Linux with "GNU/" was a dick move. It would have been nice of Stallmann to suggest this to the Linux kernel community rather than just go ahead and put "his" name on someone else's project after it had become a success.

2

u/sinisterstuf Jun 05 '11

And prefixing Linux with "GNU/" was a dick move.

Actually it's suffixing "GNU" with "/Linux". Replacing "GNU" with "Linux" was a dick move.

3

u/rpd9803 Jun 03 '11

I find this argument lacking – Is your point that the gnu contributions are less signifigant than the distro providers? Ubuntu doesn't even have the word linux in the (visible) text on its homepage.. is that slapping their name on someone else's work? And since Linux only really refers to the kernel, if I provided the rest of the damned OS, I'd feel entitled to have my name on it.

It sounds like you're treating GNU with different rules than distro providers, and the only reason I can see is a anti-GNU (maybe Anti-Stallman?) bias.

-1

u/borud Jun 03 '11

I am not able to follow your black/white logic. Please do not assume that the rest of the world shares your somewhat childish polar view of the world.

8

u/rafekett Jun 01 '11

Let me ask you this: could you imagine using any Linux distro without GNU?

15

u/yns88 Jun 01 '11

According to the article, that's not so far off from being a serious option.

In any case, I don't think this is exactly a blow to the GNU project. Their goal was to make a free operating system possible, and now there is so much free software made that those programs originally developed for the GNU project are being dwarfed. It's ultimately a proof of success for the Free Software movement.

4

u/bonzinip Jun 02 '11

According to the article, that's not so far off from being a serious option.

That's Android, or pretty much every router using Busybox. (They're still compiled with GCC, but it's not installed in the machine).

5

u/[deleted] Jun 01 '11

No, it's a very serious blow.

There's no such thing as a (monolithic) Free Software movement.

That "let me interject for a moment" thing on part of RMS was not an attempt to claim some personal recognition, he is far above that. It's a part of a deep ideological strife within the movement.

To put it simply: for Linus Torvalds GPLv2 means that he offers some code for free and expect all modifications, improvements and derivative works available for free to himself, as a payment. Plus the guys like ESR who believe that Open Source is just a very competitive model for developing software.

RMS, on the other hand, considers proprietary software immoral. Kind of like slavery. For him it's not about "getting paid back" or being "efficient and competitive", it's about destroying proprietary software, as a viable way to make software.

Linus's "pragmatic" attitude has been a thorn in RMS's side from the very beginning. Not that RMS's own attitude is not pragmatic, it is, he is OK with libraries being released under LGPL (to get a bigger mindshare), with encoders/decoders for proprietary formats, or say .NET implementations, being released under GPL (to get a bigger mindshare), but the end goal is to destroy the immoral proprietary software, all these compromises are considered to be a necessary lesser evil required for that part of the Free Software Movement to get into a position of power, from which they could make GPLvX to forbid running or developing any proprietary software with Free tools, for example.

(if you think that's far-fetched, go find that wiki-like thing where arguments about allowing GCC plugins are discussed, that's kinda eye-opening).

That's why they have GPLv3 and AGPL encroach further and further, one on what can be done with hardware, another on what can be done with internet services. And that's why Linus took a pretty uncompromising position re: moving the kernel under GPLv3, from where he stands that would be immoral.

So it's all pretty important for RMS. If the shrinking of the GNU part in GNU/Linux continues, with Clang replacing GCC etc, it would mean that the RMS's side of FLOSS has lost the ideological war, that Open Source would remain merely one of the ways to develop and distribute software, a very popular way, but nothing more that that.

-1

u/tanishaj Jun 02 '11

I value the FSF contribution to software history but I think that it has "already" lost the ideological war. It will just take a while (maybe a long while) for word to go out to all those fighting that the war is over.

I know that I used to be a strong advocate of the GPL. These days, I find myself much more attracted to things like the APL (Apache). Without getting into it, I find myself feeling like the causes that the FSF champions actually "restrict" my freedom more then they ensure it. It seems like changes to the FSF agenda are more about "preventing" than they are about "enabling". I am not suggesting that the agenda has changed. Perhaps we are just at an inflection point in the execution of the long-term plan.

There is far more Open Source (in the Linux sense) software than there is Free Software (in the Stallman sense) being produced in the world today. Open Source is going mainstream; Free Software remains a niche concept.

My own take on things is that Open Source as a community comes across as quite "pragmatic" while Free Software as a community seems much more "political". In this way, Linus Torvalds and Richard Stallman are perfect spokes-people for the two camps. Their two personalities seem to reflect these philosophical differences quite closely.

My (non-scientific) assessment of the GPL3 situation is that projects or user communities that adopted GPL initially are now shying away from it. It used to be that the Linux world was GPL-centric with the BSD world being the non-copyleft radicals. Now, it feels like licenses like BSD, Apache, MIT/X11, and even LGPL (weak copyleft) are the norm for new code-bases even on Linux.

1

u/sinisterstuf Jun 05 '11

There is far more Open Source (in the Linux sense) software

Is this because people misunderstand what it means? You should especially read the section on common misunderstandings of "free software" and "open source"

1

u/tanishaj Jun 24 '11

I am sorry I never got back to this. I would like to have gotten a clarification.

The page you link to is quite old (certainly not new to me) and the section you call out addresses issues that seem dated to me:

"Free as in freedom, not as in beer"; I realize that not everyone gets this but it is certainly no longer the dynamic driving the industry.

"Shared Source" was a big deal for a while with companies tying to get a little of the "Open Source" love without having to provide any legal rights. I personally see very little of this now.

The point that some people think that the GPL is Free Software and everything else is Open Source is an interesting one. Perhaps this is what you mean in that people assume that GPL means GNU which means Stallman's world view. You will notice that I actually used Linux as an example of a project that exemplifies Open Source ideals over Free Software ones. Linux is of course GPL.

Rather than misunderstanding, I think that the software world is maturing in it's understanding of these terms quite far. It is precisely because of this that the ecosystem is becoming more pragmatic than ideological.

My observation is just that the GPL is being evolved to be more explicitly Free Software and not just Open Source. As a side-effect, it is being positioned as inappropriate for Open Source. Projects, like Linux, that adopted the GPL as part of their Open Source mandate are not attracted to newer versions of the GPL. Many new projects (most as far as I can tell), are shying away from the GPL entirely.

It could be that you are correct that this is due to a fundamental misunderstanding of how strict copyleft benefits Open Source or regarding how Free Software is a superior philosophy. My sense though is that the nuances of these ideas is better understood now than in the past and yet the GPL as a license is waning in popularity (it appears to me). This implies that Free Software is loosing the ideological war with Open Source. IMHO of course.

1

u/sinisterstuf Jun 24 '11

I re-read what you wrote before after reading this and I guess you're right. Nothing that you'd said is wrong, as far as I can tell, and I guess I agree. There's just one thing.

the ideological war with Open Source

I don't think these two parties should be seen as opposed. According to the article, the Free Software movement, at least, doesn't want things to look that way. Rather I think they're two ways of looking at the same thing, or at least something similar:

  • Free Sofware: a philosophy

  • Open Source: a development methodology

But obviously you already knew that and what you were saying before is probably true. There is more "open source software" than there is "free software" and this is for the reasons which you said. Nothing wrong there, we're agreed!

Edit: formatting
Edit: added some commas for readability

-6

u/rafekett Jun 01 '11

Much of that software would not be considered "free" by RMS and co.

11

u/yns88 Jun 01 '11

Of those projects listed in the source article (making up 45% of Ubuntu), 75% (36% of total) are released under GPL, while 25% (9% of total) are released under the equivalent of the MIT license. I don't have any data for the rest of the Ubuntu main package, but it's likely just about all GPL or MIT/BSD-equivalent software.

How is that not considered "free"?

-1

u/rafekett Jun 01 '11

MIT/BSD is not considered to be "free" software by the FSF (go figure, it's because there's no ongoing guarantee of freedom). Not my opinion, his.

7

u/Arelius Jun 01 '11 edited Jun 01 '11

Yes it is. It's not considered to be a good license due to the lack copyleft. But it is considered to be "free".

Edit: To be clear, I'm stating the opinions of the FSF in particular, I for instance disagree with the FSF about the "good" part, and feel the MIT/BSD licensees are better in general.

5

u/nikbackm Jun 01 '11

Many would say it's even more "free" than the GPL.

2

u/Arelius Jun 01 '11

Agreed, but it's unclear if the FSF in particular would agree with that.

1

u/Peaker Jun 01 '11

It's more "free" in the sense it allows re-distributors the "freedom" to take away freedoms when they redistribute.

If you don't consider taking away freedoms itself to be a "freedom", but a "power" that accounts for negative freedom overall, then the GPL is more free.

1

u/roybatty Jun 01 '11

Yeah, and nobody buys all the FSF propaganda, gobblygook, and RMS's personal definitions of freedom.

1

u/ehird Jun 01 '11

Yes, it is.

13

u/mitsuhiko Jun 01 '11

Let me ask you this: could you imagine using any Linux distro without GNU?

Pretty much, yes. I am using OS X on my desktop and the BSD userland is not that bad. The last bit piece of GNU stuff I was using was gcc but since GPLv3 that's hardly an option on OS X and clang looks more interesting anyways.

2

u/[deleted] Jun 01 '11

There's no reason whatsoever you can't install GPLv3 software on your Mac.

8

u/[deleted] Jun 01 '11

The reason is that Apple has in the past maintained its own branch of gcc with OS X specific features, but once gcc switched to GPLv3, Apple would not touch it for legal reasons, and is thus stuck at 4.2 (and developing clang instead).

You can build your own newer version of gcc for OS X, but it will lack crucial functionality.

2

u/[deleted] Jun 02 '11

"Nobody has ever tried before, to build a multi-platform C compiler solely in order to undermine freedom" -- Eben Moglen.

2

u/[deleted] Jun 02 '11

Yes, that is just about the dumbest statement I have every heard out of the FSF.

It's also pretty rich coming from the people who intentionally crippled their compiler to prevent people from using it in ways they didn't approve of.

2

u/[deleted] Jun 02 '11

It's also pretty rich coming from the people who intentionally crippled their compiler to prevent people from using it in ways they didn't approve of.

Like what?

1

u/[deleted] Jun 02 '11

gcc was historically designed to not allow plugins, and to not allow access to its internal representations in order to avoid closed-source tools interfacing with it. This made the code less flexible and harder to work with, for purely ideological reasons.

They are only recently allowing plugins once they started facing some actual competition from clang.

2

u/sinisterstuf Jun 05 '11

It's also pretty rich coming from the people who intentionally crippled their compiler to prevent people from using it in ways they didn't approve of.

Being free software, if you have a copy of gcc you should have the freedom to run, copy, distribute, study, change and improve the software. That includes running it to do what you want (not necessarily what the original developers approve of) and improving it to run to do what you want (also not necessarily what the original developers approve).

What you're saying doesn't make sense.

→ More replies (4)

0

u/nascent Jun 01 '11

Which has nothing to do with GNU software.

3

u/[deleted] Jun 02 '11

you can't say GPL has NOTHING to do with GNU. GNU is GPL'd.

1

u/sinisterstuf Jun 05 '11

In relation to this discussion you can.

0

u/nascent Jun 02 '11

could you imagine using any Linux distro without GNU?

There's no reason whatsoever you can't install GPLv3 software on your Mac.

you can't say GPL has NOTHING to do with GNU. GNU is GPL'd.

Yes I can, the GPL has nothing to do with GNU, though GNU products are release under GPL. The question is about leaving without GNU, not living without the GPL.

-2

u/slammaster Jun 01 '11

You're right there's no reason you can't install it, but it restricts developers in using it. You can't monetize GPLv3 code, so people don't incorporate it into their projects if they don't want to release the source for the final product (actually they still do, but they're not supposed to)

2

u/[deleted] Jun 02 '11

You can't monetize GPLv3 code.

I'll just leave this here

1

u/slammaster Jun 02 '11

You can't monetize GPLv3 code

Yeah, I'm not completely sure what I meant by that. You can still sell a GPLv3 product, but you're required to distribute the source code, and that's what prevents many developers from using it.

2

u/adavies42 Jun 02 '11

which differs from GPLv2 how?

0

u/sinisterstuf Jun 05 '11

and that's what prevents many developers from using it.

How?

0

u/rafekett Jun 01 '11

OS X != Linux.

Also, FYI, OS X uses bash, which is also GNU (and probably will never be replaced as the default OS X shell). I vastly prefer the GNU userland as I feel that it's much more full-featured, but that's just personal preference.

10

u/Arelius Jun 01 '11

I use zsh on mac. Regardless, his point is that the BSD userland is nice and rather comprehensive. Could imagine replacing the GNU userland with the BSD userland and being quite happy.

2

u/jyper Jun 02 '11

I would imagine its quite difficult to switch a os that has been in use with one set of tools especially when gnu versions tend to be more feature-full/bloated(based on your perspective). The incompatibility with countless scripts would be devastating.

1

u/kopkaas2000 Jun 01 '11

You can have it the other way around, but somehow nobody really bothered to take the BSD userland to the Linux kernel. To be honest, I think there's quite a difference between dealing with a BSD-style environment if it's on Mac OS X (and you're just using it as a platform to use grep and ssh) and an actual BSD distro. It's got an insane obsession with compiling everything from source, which is really a waste of time in my view. I much prefer apt or even yum above BSD ports any given day.

Mind you, most of this has very little to do with glibc or other parts of GNU.

1

u/[deleted] Jun 02 '11

It's got an insane obsession with compiling everything from source, which is really a waste of time in my view.

Given that you have absolutely no idea what you are talking about, perhaps you should refrain from making such absurd statements. There are several BSD operating systems, only one of them could be construed to fit your description. All the BSDs provide binary packages, ports is simply the framework to compile packages, like an srpm is used to create an rpm.

0

u/sinisterstuf Jun 05 '11

So if you could use the Linux kernel with what you're describing there should it then be called Linux? Instead of BSD or "mac"? How does that even make sense?

1

u/Arelius Jun 07 '11

I mean. I really don't care what it would be "called" It would be the same composition of a normal linux distro, except without the GNU userland.

It makes about as much sense as calling the current thing "Linux" rather then "GNU/Linux" really. So I suppose if you wanted to really be correct it'd be "BSD/Linux"

1

u/sinisterstuf Jun 07 '11

Can you use the Linux kernel with BSD?

1

u/Arelius Jun 07 '11

It would probably require some porting work. But there is no reason it couldn't in theory.

0

u/sinisterstuf Jun 05 '11

You're using OS X. OS X is not a GNU/Linux Distro. You're not using the Linux kernel. How is what you're saying relevant to the question?

0

u/[deleted] Jun 01 '11

[deleted]

1

u/mitsuhiko Jun 06 '11

Nowhere was implied that OS X is a linux distribution. The question was if people could imagine Linux without GNU which means Linux without the GNU userland. Various POSIX environments exist that do not offer a GNU userland. OS X is one of them. I pointed out that because I used OS X I did not miss the GNU userland thus I can imagine having Linux without GNU.

3

u/ehird Jun 01 '11 edited Jun 01 '11

Yes. IIRC clang icc could even build a buggy-but-bootable Linux kernel as of a while ago, and many userland tools should be fine with it clang. And musl is a perfectly viable libc.

Edit: It's icc that can do the kernel, not clang.

4

u/zokier Jun 01 '11

Like lets say, Android?

edit: Also openwrt/ddwrt et al. I'm not sure how much gnu software they contain, but I believe that GNU userland is bit bloated for that purpose.

2

u/gruehunter Jun 01 '11

The result wouldn't exactly be "Linux" in the workstation sense, but some embedded distributions have much less GNU in them. Linux + uClibc + busybox cuts GNU out of the entire runtime stack, leaving it only in the development tools. You'd have to be insane to do this for ideological reasons; the primary motivation is to build a very tiny distribution. IIRC, the original gumstix install only consumed about 3 MB of flash in this way.

1

u/RiotingPacifist Jun 01 '11

Why is this being downvoted it is a good question, addressed in the article poorly, sure you can replace gcc (which is large in LOC but not everyday use) but the everyday coreutils are still the core of any linux distro.

1

u/sinisterstuf Jun 05 '11

Do you mean "could you imagine any GNU/Linux distro without GNU?" :-)

3

u/[deleted] Jun 02 '11

[removed] — view removed comment

1

u/rafekett Jun 02 '11

Alright, let me qualify that by saying a non-embedded Linux distro.

2

u/screwthat4u Jun 03 '11

Deceptive pie charts.... check

3

u/testeddoughnut Jun 01 '11

I think the real test should be to try removing the GNU software and see how much of a working system you actually have afterwards...

1

u/atred Jun 02 '11

One could easily imagine an Android kind of OS that would run KDE or other desktop environment without much or any GNU.

BTW, KDE works very well on FreeBSD, not much GNU and no Linux, yet the experience is almost the same as if you run KDE in "Linux".

2

u/sinisterstuf Jun 05 '11

I'd like to carry on from your example here. You call Linux (the kernel) Linux. And you call Android (an OS that uses the Linux kernel) Android. It's being suggested that GNU (another OS that uses the Linux kernel) be called GNU/Linux so as to give credit to the kernel but instead people are calling it Linux. Why not then also call Android Linux just like GNU is being called Linux? A compromise is calling Android Android/Linux (comparable to the suggestion of calling GNU GNU/Linux).

1

u/atred Jun 05 '11

Android is a product by Google, they decide the name. I've noticed that people who promote "code freedom" don't really understand the word "freedom" and they start to demand to (re)name the products of companies "to give credit", that's pretty ridiculous. It's actually dishonest, the license basically says "sure, you are free to use the code" and then you demand that people call your product something that would include advertising for your product or philosophy. That's not honest. If you want all the derived products be named after your product, place a clause in the license, otherwise let people use whatever name they want (e.g. Debian has a clone of Firefox named Iceweasel, Mozilla didn't protest, "but you have to name it Mozilla/Iceweasel" on the contrary they demanded that Debian ceases calling it Firefox if they modify it, which is only reasonable)

Same with Linux, nobody (apparently, nobody except you) dreams to pressures Google to call it Linux or Android/Linux or anything like that, the code is free if somebody use it they can make whatever product they want out of it and name it whatever they want (if they name it Linux they need to get permission from Linux Mark Institute because that's a registered mark). As a technical detail, yes it uses a modified Linux kernel, but nobody has to call it "linux/anything", as a technical detail Linux distributions use GNU components, that's a technical detail, it has nothing to do with name, we actually call Linux distributions "Ubuntu" or "Fedora" or "SUSE" few people bother to call them even Linux. Ubuntu which is basically what's discussed in the article not "Linux" is the operating system, it contains different stuff, Linux, Xorg, GNU, GNOME or KDE we don't have to call it either Linux or GNU/Linux.

2

u/sinisterstuf Jun 05 '11 edited Jun 06 '11

I don't think you understand what I'm getting at. You seem to have things mixed up a bit and missed the point I was trying to make with my comparison. There's nothing wrong with calling Ubuntu "Ubuntu" or Debian "Debian". Although I'd like to point out that at http://www.debian.org/ they describe their distribution as "Debian GNU/Linux".

Here's what I was trying to say:

  • Linux is a kernel (not an operating system). People call it Linux.

  • Android is an Operating System that uses the Linux kernel. People call it Android.

  • GNU is an Operating System that uses the Linux kernel too. People call it Linux.

How is that fair?

Most people (including me) do not dream to pressure people into referring to the use of Google's Android with the Linux kernel as Android/Linux. However the Free Software Foundation has willingly suggested people refer to the use of GNU with Linux as GNU/Linux. This was nice of them because it gives credit to the Linux kernel developers, the Linux kernel filled the last major part missing from their otherwise complete operating system. Despite this people still continue to call it Linux instead of GNU or GNU/Linux.

Do you get what I'm trying to say?

1

u/toofishes Jun 02 '11

A system with a kernel, busybox, and a non-glibc libc could do a hell of a lot. How much GNU software actually ships with a built OpenWRT instance? I'm guessing not much.

3

u/[deleted] Jun 01 '11

Why is emacs 4%? Ubuntu made me manually download and install that with "apt-get install".

3

u/oorza Jun 01 '11

Can you read?

I picked Ubuntu natty (released in April) as a reference, am counting lines of code (LOC) as the rough metric for size of a given project, and am considering only the “main” repository, supposedly the core of the distribution, actually packaged by Ubuntu and not repackaged from Debian.

He's counting the LOC in the repository not a default install.

1

u/tompa_coder Jun 01 '11

I'm sure you can use the graphical package manager to install Emacs on Ubuntu.

Emacs takes 4% from the entire GNU packages and GNU takes 8% from a modern Linux distribution. So, basically it is about 0.32% from the entire Linux distro.

1

u/namekuseijin Jun 01 '11

Emacs takes 4% from the entire GNU packages and GNU takes 8% from a modern Linux distribution.

how much does the kernel Linux takes in a modern Linux distro?

perhaps we should name it Ubuntu or Android?

1

u/[deleted] Jun 01 '11

My point is it should take 0% because it's not there by default.

4

u/knipil Jun 01 '11

GCC isn't part of the standard distribution either, and nor are most of the other development tools such as gdb or make.

-1

u/[deleted] Jun 01 '11

They're not exactly in Ubuntu then since they don't come packaged. Where's the 30% slice where the porn goes? Both need to be downloaded separately.

1

u/[deleted] Jun 01 '11

Which distro are you using? The author is using natty, you could be running different versions bro.

2

u/tompa_coder Jun 01 '11

Also, the author has measured the entire distro code base, not only what it gets installed by default.

1

u/koonat Jun 01 '11

I picked Ubuntu natty (released in April) as a reference, am counting lines of code (LOC) as the rough metric for size of a given project, and am considering only the “main” repository, supposedly the core of the distribution, actually packaged by Ubuntu and not repackaged from Debian.

This method is ridiculous and stupid.

This chart is entirely useless.

1

u/sinisterstuf Jun 05 '11

That's not a very nice thing to say.

0

u/kolmogorovcomplex Jun 01 '11

The "main repository of ubuntu" is a pretty arbitrary sample, isn't it? What makes an operating system?

3

u/zokier Jun 01 '11

I have to agree. The basic ubuntu-desktop install, or even barebone server install would be more informative imho.

1

u/echidnaman Jun 01 '11

Items in the repository called "Main" are generally only things included on either the Live CD or the DVD, hence the core portion of the operating system.

0

u/slurpme Jun 01 '11

Linux != Unbuntu

It would be useful to see what the code split is for a minimal "just get it running" x86 box (and with a tailored kernel that only contains the drivers you need)...

-5

u/smcameron Jun 02 '11

Jeez, all these gnu haters in this thread... what a bunch of ungrateful sack of shit excuses for human beings they are.

I'm sorry, if you don't like the GPL, and GNU, as far as I'm concerned, you are an enemy of humanity. Die already.

-2

u/slurpme Jun 01 '11

It's GUNs all the way down... Until you reach a small hairy Stallman at the bottom...

0

u/[deleted] Jun 01 '11

[deleted]

0

u/moolcool Jun 02 '11

So if I took a bunch of Windows tools and ran them under WINE in linux would that be called GNU/Linux/Windows?

2

u/sinisterstuf Jun 05 '11

*ran them under wine in GNU

or you can call it GNU/Linux to give credit where credit is due to the Linux kernel

-2

u/[deleted] Jun 02 '11

Yeah, only the shell, bootloader, system library, linker, assembler, debugger, compiler, the majority of command line utilities are from GNU (and then some!)

Most of which don't actually need to be the GNU tools though, there are alternatives for most of that stuff, often significantly better alternatives.

which is a bit of an unfair comparison because the kernel source tree contains code used to support dozens of hardware platforms and tens of thousands of device drivers

It is also unfair in that GNU code is incredibly bloated, counting lines is vastly overstating the actually necessary amount of code in their software.

4

u/[deleted] Jun 02 '11

Most of which don't actually need to be the GNU tools though

True, they can be substituted, but the point was that Ubuntu does use the GNU tools for many major components of the operating system, as do most other major distros.

Whether the alternatives are better is certainly debatable; I imagine Canonical doesn't think so; at least not to the extent that they are willing to replace the GNU tools in their distro, or they would have done so already.

1

u/[deleted] Jun 02 '11

Canonical is interested in marketshare, so they do what the majority of linux users expect. That doesn't mean the GNU software is required to have linux, nor that it is even important, or worthy of trying to force their name on all linux distros.

0

u/[deleted] Jun 02 '11

With all due respect, I think you're not wrong, but you're not really arguing the author's point either. He simply tried to measure how much GNU software there was in a modern Linux distro, and to do so, he picked lines of code as a metric, and Ubuntu (the main x86/amd64 port, I assume) as a representative sample.

The merits of these choices are certainly debatable, but they don't seem entirely unreasonable to me either, and I certainly think it supports the conclusion that there is a fairly significant share of GNU software in a modern Linux distro, at least if you agree that a chunk of code in the same order of magnitude as the Linux kernel itself can be called significant.

That conclusion does not at all entail that GNU software is required (for example, there are many Linux-based embedded systems that only depend on a fraction of the GNU software compared to a desktop system) or that GNU has a 'right' to renaming Linux as GNU/Linux. Those questions were completely outside of the scope of the simple experiment that the original author performed.

2

u/sinisterstuf Jun 05 '11

or that GNU has a 'right' to renaming Linux as GNU/Linux

does Linux have a 'right' renaming GNU as Linux?

What seems more reasonable?

0

u/[deleted] Jun 02 '11

Those questions were completely outside of the scope of the simple experiment that the original author performed.

Those questions were what prompted him to check the LOC in the first place though. My only point addressed at the author's test is that LOC is a bad choice given that GNU software is notoriously bloated and poorly written, so it has vastly more LOC than alternative tools that do the same tasks. My point about Canonical was directed to you, since you suggested they consider GNU software superior, when the simpler explanation is that they simply consider it expected.

0

u/sinisterstuf Jun 05 '11

That doesn't mean the GNU software is required to have linux

Is Linux necessary to have the GNU software?

0

u/[deleted] Jun 06 '11

No, and GNU are welcome to go ahead and make a GNU OS without linux and name it whatever they like. (Yes, I know they have been trying and failing at that for 20 odd years).

1

u/sinisterstuf Jun 06 '11

There is the GNU OS. And there is the Linux kernel. People use GNU with Linux that's where the name GNU/Linux comes from. You can read about it here if you like.

GNU are welcome to go ahead and make a GNU OS without linux and name it whatever they like.

The GNU OS without Linux is called GNU. GNU with Linux (which is how I assume you're using it if you're using it) is called GNU/Linux.

0

u/[deleted] Jun 06 '11

A few random utilities is not an operating system.

1

u/sinisterstuf Jun 06 '11

And GNU is not just a few random utilities.

→ More replies (8)

0

u/synthespian Jun 07 '11

The "GNU OS", that is to say, the Hurd microkernel is exactly like the whole lot of the original GNU stuff - it was an idea developed by SOMEONE ELSE and that Stallman just set himself out to copy. In fact, when you think about it, everything about the early "GNU/Linux" was a bad copy. It's not like that today, and that's fine. But let's not simply rewrite history because some people want to be portrayed as the heroes they simply never were.

BTW, if you wanna give credit where credit's due, credit the BSD developers (in particular, Sun founder Bill Joy) for the first free Unix...

I mean, I give credit where credit's due, and I think what RMS did in the early GNU days was heroic - but, really, today's undergraduates read the Dragon Book and could probably implement to whole shebang of the early GNU toolset. Couldn't YOU implement the utter piece of crap that's Gnu Make, or Bash?! I'm sure many here could, but simply choose to just adapt to that horribly designed stuff and build other stuff. It's called The Worse is Better viewpoint, and it's a widely held viewpoint in current Unixland (if you want to see what an updated Unix would sorta look like, go to an Apple store).

Many shells and "makes" were made, and some people will adamantly reject the idea that GNU's make, GNU's compiler, the Bash shell, etc. are the best of the breed. Just because one was raised in a GNU diet does not mean he got to develop the best of his/her genetic make-up.

The compiler bar is raised much higher today. Some linux distros (a tiny bleep on the map, true) even boast being able to be compiled, for instance, the Intel compiler. Now, if you compile the kernel with something non-GNU, and then install some good non-GNU shell (e.g., ksh), and if you use other infrastructure, say, BSD make, Cmake, are you a GNU? No. So, just because people are lazy and just are generally indoctrinated in the GNU toolset, it does not mean GNU software is fundamental.

-1

u/synthespian Jun 07 '11

So what if Ubuntu uses GNU tools? This is just because everybody's lazy (you could just learn the Korn Shell, for instance) not because GNU tools are teh awsum shit Linux fanboys want them to be. Ask anybody over at *BSD/Mac world. Get real...

In the near future, prick your eyeballs with needles as the WHOLE F*ING WORLD moves over to LLVM, while GNU fanboys cry in mama's basement "oh, WHY????"

1

u/the-fritz Jun 02 '11

Most of which don't actually need to be the GNU tools though, there are alternatives for most of that stuff, often significantly better alternatives.

What alternatives? Except for command line utilities (and maybe bootloader) I can't think of any real alternatives. And some people may call the GNU command line tools bloated but on the other hand you could call it features which are quite handy for everyday work on your desktop. (But might not be what you'd go for for an embedded or small system)

-1

u/[deleted] Jun 02 '11

So you know there are alternatives for all the random tools, but don't know there's other boot loaders besides grub? Or other compilers besides gcc?

1

u/the-fritz Jun 02 '11

So you know there are alternatives for all the random tools

Not the "random tools" but the standard unix command line utilities such as sed, grep and so on.

Or other compilers besides gcc?

Of course I know other compilers than gcc. But none of them compiles an actual linux kernel and therefore is not an alternative as base compiler for a linux system.

-1

u/[deleted] Jun 02 '11

Not the "random tools" but the standard unix command line utilities such as sed, grep and so on.

Yes, that is what I am referring to.

Of course I know other compilers than gcc. But none of them compiles an actual linux kernel and therefore is not an alternative as base compiler for a linux system.

Clang does, pcc certainly could if someone cared to try. You might want to stop and think about this for a second, GNU software are themselves the alternatives. They were written as clones of existing software. To pretend there is no other software is absurd.

2

u/the-fritz Jun 03 '11

Clang does

Not a complete Kernel. Only a small subset. If I remember correctly. And initially you said "often significantly better alternatives". I doubt that. Clang compiles faster and has better error messages. But GCC produces superior code. And therefore I'd choose GCC to build the base system anyway.

→ More replies (2)

-1

u/sinisterstuf Jun 05 '11

GNU software are themselves the alternatives

Isn't Linux just an alternative to the kernel used by UNIX?

→ More replies (3)

0

u/synthespian Jun 07 '11

You realize you can change shells (say, to ksh) and compile Linux with an intel compiler and use another C compiler, don't you? Which means GNU stuff is not fundamental to having a Linux OS. That's why it's called Linux. Only those belonging to the Church of Stallman call it "GNU/Linux".

In fact, the current trend (LLVM, more and more BSD-like-licensed software, etc.) is to simply walk away from that religion. Zealots have not made Linux strong on the applications side - on the contrary...(linux is only strong on the server side).

Stallman has fostered a culture of freeloaders - people who will actually pay to go to comp sci courses at top universities but that will actually expect their toolbox to cost cheaper than what a woodworker handyman is willing to spend on power tools

  • and I mean that in a quite literal way, not figuratively at all. Figure that one out...Call Knuth!

Because of that, tools usually suck in Linuxland, as compared to the myriad choices the free market will get you on Evil-land (and if you downmod me for saying that, you need to get your head out off your ass and come to grips with reality - tools in Linuxland are very, very bare-bones compared to what $bling$ can get you - blame laws of economics, not me).

3

u/[deleted] Jun 07 '11

You realize you can change shells

Of course, I mention that specifically in the other post you replied to.

Which means GNU stuff is not fundamental to having a Linux OS. That's why it's called Linux.

The Linux kernel is not fundamental either. Debian ships a port based on the FreeBSD kernel + GNU software, for example. That's why it's called "Ubuntu" and not "Ubuntu Linux" (seriously, go to the Ubuntu website and search for Linux; you'll have to hunt around quite a bit to find it!)

The fact remains that Ubuntu, as it exists now, is built on the Linux kernel and a large share of GNU software. This fact is not lessened by the existence of alternatives, which are available, but not used in Ubuntu.

Stallman has fostered a culture of freeloaders [..]

The success of UNIX-derivatives like the BSDs and Solaris is due to the fact that they are free-as-in-beer too. Nobody would be using them if they had to pay the usual license fees. Price matters to users; if you think that wasn't true before Stallman you are crazy.