Slashdot Mirror


LLVM & GCC Compiler Developers To Begin Collaborating

An anonymous reader writes "While RMS is opposed to LLVM over its BSD-like license rather than the GPL, LLVM/Clang and GCC developers have agreed to try to start cooperating in an "open compiler initiative" to jointly tackle common issues that plague both compilers and issues that can be better served by working together rather than creating fragmentation between the two popular open-source compilers."

43 of 279 comments (clear)

  1. Open borders... one way? by paxcoder · · Score: 5, Interesting

    I'm not sure how GCC could benefit from this.
    While theoretically GPL could subsume BSD code produced from the collaboration, I reckon it's more likely that brains are going to migrate rather than code. And I don't see those working on LLVM (for commercial interest) migrating to GCC.
    If I were RMS I'd be worried.

    1. Re:Open borders... one way? by kthreadd · · Score: 5, Interesting

      Well, just getting both camps into the same room from time to time would be an improvement.

    2. Re:Open borders... one way? by Rosyna · · Score: 5, Informative

      I'm pretty sure this is not about sharing code, but about collaborating on needed features via a shared spec. So both compilers implement something a standard way instead of coming up with new features independently.

    3. Re:Open borders... one way? by paxcoder · · Score: 2

      For example?
      Would GCC migrate to LLVM bytecode? What does that give us (except lack of diversity)?
      Not sure what else could these two compilers have in common.

    4. Re:Open borders... one way? by thoth · · Score: 5, Interesting

      I was a compiler grad student, and my university had its own intermediate representation it did work with. Back then (mid 90's) there was also SUIF (stanford university intermediate form), something I forget from University of Illinois... there were probably others too. But some big-name CS departments focused on other stuff, databases, operating systems, AI, and weren't necessarily up there in compilers or revealing the details of their intermediate form (not that it's was a secret, merely from academia the algorithm is more important than the intermediate form used).

      Now, my old school adopted LLVM. I recently checked as I'm working with LLVM/Clang and found that quite interesting. I can't even pull up Stanford's SUIF compiler group research page (suif.stanford.edu, maybe I'm just unlucky or it's gone/moved/temporarily down). And LLVM/Clang is from University of Illinois... so yeah, I'm sure they are using it too.

      The benefit to GCC from this is to not become obsolete in 5-10 years, from a steady influx of improved algorithms and tuning from a body of people that can easily contribute. Just from the fact LLVM/Clang is easier to work with, universities using it for their classes/research means that there is a steady crop of undergrads/grads familiar with LLVM/Clang and its set of libraries. They can contribute, and the research community doesn't have to roll its own intermediate form for research algorithm implementation and then throw that out when it comes to implementing the same algorithms in an actual intermediate language that is used in a real compiler. When you're a student, the last thing you want to do when you've got a project due in the semester, or you are trying to write your thesis/dissertation and graduate, is screw with compiler internals that are purposely difficult to work with (GCC).

      Yes, GCC has a core group that has done an excellent job. But they are facing commercial interests improving the LLVM/Clang (i.e. Apple and Obj-C) plus now the OpenCL and OpenMP work going on, and on top of that an ever growing population of former students with skills/knowledge and perhaps the desire to contribute.

      f I were RMS I'd be worried.

      Agreed. Those years he opposed modularizing GCC might have really hurt the project in a way that isn't done being felt yet.

    5. Re:Open borders... one way? by Anonymous Coward · · Score: 5, Insightful

      For example, the pretty huge list of C and C++ extensions that both gcc and clang implement, and that are invented by the authors of said tools. It's much better that the two talk about it, and come up with one spec that both compilers implement than to have two competing standards that results in code one or other compiler can't deal with.

    6. Re:Open borders... one way? by thoth · · Score: 3, Insightful

      There's a boatload of stuff to agree on for better interop. The language itself (c/c++) says nothing about a lot of stuff people kind of expect these days.

        Language extensions specific to compilers (e.g. __user), toolchains (e.g. llvm is working on lld, a linker, to replace the default system linker), security additions (e.g. if I build a library with gcc and specify stack protection and canaries, none of which are in the language standard, will I be able to link a clang built library and executable and actually have it work), etc.

    7. Re:Open borders... one way? by maxwell+demon · · Score: 5, Insightful

      Another thing would be to harmonize the representation of fundamental classes like std::string and std::vector, so those classes can be passed between codes compiled with both compilers, even though the implementation code for those classes might otherwise differ.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    8. Re:Open borders... one way? by Anonymous Coward · · Score: 4, Insightful

      If you produce a technically inferior compiler for political reasons you deserve a world of hurt from superior, freer alternatives.

    9. Re:Open borders... one way? by hairyfeet · · Score: 5, Insightful

      I'll get hate for saying this but fuck it, truth is truth and RMS burnt a LOT of bridges with GPL V3 so I wouldn't be surprised to see more devs moving from GCC to LLVM and Clang.

      What RMS and his fans just seem to refuse to accept is a simple little bit of reality which is thus...this ain't 1979 anymore, no matter how many times RMS calls everyone "hackers" like he's at a computer club meting. The chips, the designs...we are talking about INSANE complexity folks, it is just not something "a couple of guys banging away in their basement" is gonna be able to do. What you have to have is dozens of highly skilled, highly trained guys working on this stuff 8-12 hours a day every day...the requires funds folks, no way you can get around that.

      What does that have to do with RMS giving corps the bird with GPL V3? Simple...where do you think ALL that money was coming from? Donations by individuals? Nope that was all being paid for by corps whom RMS made clear aren't welcome round here anymore. with GPL V2 you had kind of a "wink wink" with the corps while GPL V3 has made sure that you had better be a GPLed company if you want anything to do with GPL V3 code. This is why Google has a "No GPL V3" rule with ChromeOS and Android, and I have no doubt you'll be seeing money dry up for projects like GCC, simply because companies will be afraid to touch it.

      At the end of the day encouraging corps to open their code is fine, flipping them the bird if they refuse to go GPL? Not the smartest thing. We should be able to tell within the next year whether all the money is gonna go to GCC or LLVM/Clang, I personally think it'll be the latter.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    10. Re:Open borders... one way? by richlv · · Score: 2

      could you please clarify what's the problem with gplv3 in the context of gcc ?
      a genuine question, i'm not aware of the details in this specific case - it's not like they host modified gcc or something...

      also, fuck beta :)

      --
      Rich
    11. Re:Open borders... one way? by serviscope_minor · · Score: 2

      llvm is working on lld, a linker, to replace the default system linker

      Didn't GNU already adopt a modern linker (gold) quite recently?

      --
      SJW n. One who posts facts.
    12. Re:Open borders... one way? by hairyfeet · · Score: 3, Insightful

      One of the other posters answered your question, I'll highlight it for you "anyone who distributes GPLv3 code *must* give the recipients a royalty free license to any patents they own that are required to be able to use that particular product."

      Sorry but no legal dept with a brain is gonna agree to that, you'd be wiping out the patent portfolio by linking in any way with GCC. This is why Apple made Clang, why companies are supporting LLVM, and why Google has a strict "No GPL V3" policy in place for ChromeOS and Android.

      Between that and RMS himself saying the GPL is viral and pushing for GPL libraries over LGPL has made GPL verbotten in many places that previously were fine with it. We'll see if I'm right as we should have enough evidence in the next 24 months (to give time for enough to switch to GPL V3 to make most of Linux off limits) but I predict a lot of the money being spent on Linux dev will dry right up. You'll only have the "pure FOSS" companies like RH and Debian supporting it while the rest follow Google and Apple and switch to other licenses.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    13. Re:Open borders... one way? by MobyDisk · · Score: 2

      Why do they not use the same std library implementation? LLVM is a compiler, it can compile the same std library code. If the LLVM designers wanted to improve it, it was GPL with the library extension so at first glance it seems like they could have used it.

    14. Re:Open borders... one way? by Carewolf · · Score: 2

      Just as an example: Apple uses a compiler _at runtime_ to compile OpenGL and OpenCL to the hardware. They use LLVM for that. If your favourite game is running on MacOS X or iOS, and it uses OpenGL, LLVM is built into the app (or more likely into the graphics driver). _That_ isn't possible with gcc without releasing the whole graphics driver. And that's something Apple doesn't want to do.

      Note that with GPL 2 license, what Apple wanted to do was fine. Now it isn't.

      No that would be in complete violation of GPL2 as well. This might be one of the reason Apple likes the BSD license now, but it wasn't the original reason they freaked out over GPL3 because it wouldn't be allowed with any version of GPL.

      There was no logical or coherent reason for Apple to back away from GPLv3 when the accepted GPLv2. The GPLv3 debacle was basically just Steve Jobs throwing one of his infamous tantrums.

      They do have a good reason to prefer a BSD or LGPL compiler backend to xcode, but that is not relevant to GPLv2 vs GPLv3 discussions.

    15. Re:Open borders... one way? by theCoder · · Score: 2

      Of course, any code that requires a patent license to run isn't exactly free software either. And no free software project "with a brain" should accept code that opens up users to legal liability.

      If companies like Apple and Google really are rejecting GPL v3 because of patent issues, that makes me think they want to use their patents against users of the software they are purporting to be "free." Are users of the LLVM compiler going to wake up one day to a lawsuit from one of these companies alleging patent infringement? It's all fun and games until your company is the target of a multi-billion dollar lawsuit because you shipped software compiled with a patented optimization technique or something.

      Of course, the sooner that happens, the better. Because then everyone pushing non-GPL licenses will remember why those patent protections are there, and switch back. Or we could just get rid of software patents and not have to worry about the whole mess.

      btw, Google and Apple probably don't like GPL v3 because of the anti-Tivoization clauses in GPL v3 that would prevent those companies from locking down the hardware they sell and preventing users from replacing the OS with a different one. But that's not really a patent issue. Nor is it a very nice thing for either company to do. At least Google does make it easier to unlock the device, even if it doesn't come that way by default.

      --
      "Save the whales, feed the hungry, free the mallocs" -- author unknown
    16. Re:Open borders... one way? by EvanED · · Score: 2

      Gold isn't default yet, but they are working on it. I very recently built it for an experiment, and presumably used the latest stable version of binutils at the time, and in that I'm pretty sure it didn't even build Gold by default and it definitely didn't install Gold as ld by default.

  2. RMS needs to get over the GPL by Anonymous Coward · · Score: 3, Insightful

    The GPL is not for everyone or every company, get over it.

    The BSD[MIT/APACHE/ZLIB] licence is the only real free open source license. In a perfect world we wouldn't need licences at all and everyone wouldn't have a hissyfit every time someone borrowed code from someone.

    1. Re:RMS needs to get over the GPL by paxcoder · · Score: 4, Interesting

      RMS knows that (and has made statements to that effect): GPL exists precisely because it's not a perfect world.
      While you may call it a freedom, "freedom" to kill would not be a beneficial one.
      Speaking metaphorically, that's what BSD license grants you: A way to murder free software in the black hole of proprietary software.
      Do companies contribute back? Sure, some do, some of the things. But everything else is competition.
      And therein lies the real difference: GPL is against proprietary software, it aims to provide free software to everyone. BSD isn't and doesn't.
      Kinda like free vs open.
      TL;DR: No.

    2. Re:RMS needs to get over the GPL by kthreadd · · Score: 4, Interesting

      One of the areas where the licensing of gcc have been very successful is within embedded hardware. Gcc has gained a high reputation within this field which has lead to adoption by several vendors of embedded systems. These firms are not known for their generosity or cooperability, so without the GPL it is unlikely that the changes they needed had been contributed back upstream. This is of course only speculation, but I would say that the GPL has overall been advantages to gcc.

    3. Re:RMS needs to get over the GPL by Anonymous Coward · · Score: 5, Interesting

      Do companies contribute back? Sure, some do, some of the things. But everything else is competition.

      I would be very interested in seeing real statistics on this, because my experiences with companies using BSD style licensed code in their software suggests the exact opposite. There are a number of reasons to use open source software in your project, the chief among them being "not reinventing the wheel". The problem is, the moment you generate your own proprietary fork, you're back to reinventing the wheel. Chances are, you made the changes because the software in question didn't quite do what you wanted it to do, or to fix a bug. Great, so now you've got your own branch, and every time you update this software with the latest "official" version for whatever reason (including perhaps, not reinventing the wheel for some new feature) you have to apply your patches and changes, and hope that the patches you built against version X are still valid against version Y.

      In my experience, the only time companies don't give back is when they've made such massive changes that they would be maintaining their own branch anyway. And with changes that large, it's extremely unlikely the main branch would ever integrate them all back in, which means the company is maintaining their own fork, regardless of whether or not they've released the code. Now, you can argue (as RMS does) that regardless, the important thing is whether the new code is open, not whether it's ever merged back, but there are considerations to be had as well. Forks split and consume development resources. Different projects all doing the same thing slightly differently create more work for people trying to target those projects, such that writing new useful software that takes advantage of other available resources either requires multiple code paths to handle each resource (think vendor specific CSS tags but worse) or can't be meaningfully built without someone writing additional code.

    4. Re:RMS needs to get over the GPL by Anonymous Coward · · Score: 3, Interesting

      Speaking metaphorically, that's what BSD license grants you: A way to murder free software in the black hole of proprietary software.

      I find it hilarious that you use this analogy in a thread talking about a BSD licensed compiler (clang) that Apple wrote, and then fully open sourced more freely than the competition..

    5. Re:RMS needs to get over the GPL by Anonymous Coward · · Score: 3, Interesting

      I agree with this sentiment but you also have to conciser the number of ideas, projects and companies that never even leave the ground because they aren't willing to entertain the idea of including GPL licensed code because it means they would have to open up the source of their entire project. I think this is a point that most devs that defend GPL to the death fail to conciser.
      GPL is a giant viscous legal thorn bush for ANY developer who has ANY reason they can't or don't want to release the source of their code and this potentially limits the progress of society just as much as a lack of open sorce libraries does.

      I mean, I'm allowed to use gpl code for private projects but nothing that could actually have a decent chance of supporting my cost of living because even through I have a bunch of novel and useful ideas for software, they would be poached and re-released a month after I made a switch to the GPL license because first mover advantage means absolutely nothing in the software engineering world unless you have millions of dollars to spend of marketing or a way of securing the redistribution of your ideas like closed source (or maybe the day I can finally afford a patent).

    6. Re:RMS needs to get over the GPL by maxwell+demon · · Score: 4, Interesting

      Would they have BSD-licensed clang if there had not been the competing GPLed GCC? Who knows ...

      --
      The Tao of math: The numbers you can count are not the real numbers.
    7. Re:RMS needs to get over the GPL by Anonymous Coward · · Score: 3, Insightful

      The GPL guarantees that if you have access to the binary you have access to the source. BSD/etc do not. In other words: BSD gives you the "freedom" to restrict others freedom. That isn't something people on the free software front consider positive.

      Maybe it's you who should get over the fact rms believes in free software. You're entitled to your opinion, he's entitled to his. It isn't like he's pointing a free 3D-printed gun to your face and forcing you to write GPL'd code to extend emacs.

    8. Re:RMS needs to get over the GPL by caseih · · Score: 2

      It all depends on your definition of freedom. I don't believe Linux would have the diversity of corporate backing without the GPL. The GPL is what allows IBM, Google, RedHat, and other heavy weights the freedom to collaborate for mutual benefit while still being competitors. Every contributor and developer operates on an equal legal footing with the GPL. The BSD works fine for many people, and for companies, like Apple. But Apple definitely is not collaborating on core OS X proper with other companies. Apple releases some of their core code under the BSD, true, but they aren't worried about it being used against them in competing products. This opinion is not necessarily mine; I have heard this from others who are involved with Linux development. Whatever the cause the amount of collaboration surrounding Linux has enabled it to go places BSD-based unixes just aren't going, like embedded devices, tablets, etc.

      Anyway, as they say, different strokes for different folks. Your opinion is nor more valid or invalid than any other one. And you're right about the fact that in a perfect world intentions would always be honored without formal documents and copyrights. I think the GPL states that very fact.

    9. Re:RMS needs to get over the GPL by paxcoder · · Score: 5, Informative

      Actually, no. You may use GPL'd code any way you like (that's freedom 0) and share with others (freedom 2). You can likewise modify the software any way you like (freedom 1). And all this time, you need not release source code. The condition to release the source only kicks in with freedom to distribute your changes (freedom 3), so only when there is a third person involved with your derivative you have to grant them the same freedoms you've been given by the original author.
      In fact, this was a problem with SaaS: You could've modified free software, and run it in the back on your servers, and say that you're simply providing a service to the end user, and since he's not getting the modified program, he doesn't get to have its source either. This is what AGPL is designed to address, and thus it's mostly used for web software. So with AGPL, as soon as you use a program, whether you have a copy, or are executing it online, you get access to the source.

    10. Re:RMS needs to get over the GPL by martin-boundary · · Score: 5, Insightful

      On the contrary, that point is exactly *why* we GPL advocates advocate it. We don't want to enable companies which have no intention whatsoever to be part of the community. They're free to do everything themselves, and good luck to them. But giving them a leg up to get off the ground just so they can be selfish assholes with their ideas? Why should we? And yes, sharing your *ideas* and *implementations* is what we mean by being part of the community. If this isn't for you, then don't let the door hit you on the way out, thanks.

    11. Re:RMS needs to get over the GPL by mark-t · · Score: 3, Informative

      Neither the BSD nor the GPL remove (not can they remove) the aspect that copyright requires that a person must get permission from the original copyright holder if they are creating a derivative work of something copyrighted. In that light, both the BSD and GPL licenses essentially state that everyone who adheres to the terms of the license is free to create derivative works, thereby effectively granting such permission... but still only to people who adhere to the terms of the license.

      Of course, the terms of the BSD license are pretty lax in comparison to the GPL... the former being not much beyond keeping the copyright notices in header files intact, while the latter license requires that the derivative work be released under the same license.

    12. Re:RMS needs to get over the GPL by ejr · · Score: 2

      No, Chris Latner started clang while at UIUC. Apple hired him to continue.

      On the flip side, there would be *no* free Objective C compiler had gcc used a non-copyleft license. Apple (well, NeXT, now better considered Apple-in-exile) tried to run around the GNU GPL but failed. They were forced to release the source, leading to gobjc. Note that gobjc has not been able to keep up with Apple's Objective C and C++ changes *because* of Apple's switch to an LLVM-based system. Also, note that previous Apple animosity against the GPL was not entirely technical.

    13. Re:RMS needs to get over the GPL by phantomfive · · Score: 2

      I can tell you, I've branched an open source project before, fixed some bugs, and released it for my company without merging back the changes. Why? Because my boss felt it would be a competitive advantage. So every once in a while I did a merge. No big deal, the software community at large lost, but I got paid.

      --
      "First they came for the slanderers and i said nothing."
    14. Re:RMS needs to get over the GPL by tlhIngan · · Score: 2, Interesting

      RMS knows that (and has made statements to that effect): GPL exists precisely because it's not a perfect world.
      While you may call it a freedom, "freedom" to kill would not be a beneficial one.
      Speaking metaphorically, that's what BSD license grants you: A way to murder free software in the black hole of proprietary software.
      Do companies contribute back? Sure, some do, some of the things. But everything else is competition.
      And therein lies the real difference: GPL is against proprietary software, it aims to provide free software to everyone. BSD isn't and doesn't.
      Kinda like free vs open.
      TL;DR: No.

      You know what? EVERY GPL advocate says "Companies will steal your BSD code!!!!!! NOOOO!!! BAD!!!!"

      But you know what really irks people? GPL does exactly the same thing. You see, GPL projects can take code from BSD projects, but that BSD project cannot take any improvements the GPL project makes.

      In fact, GPL advocates do the same thing to BSD that they accuse "companies" of doing Even more hypocritically, they claim the GPL is superior because you cannot "close off" the code.

      So, the "superiority" of GPL is that it does to BSD projects (closing off the code) what RMS claims "companies" do. And argues that it's the superior license.

      So now the BSD guys can't even get the improvements back from an open-source project! What difference does it make if BSD allows companies AND open-source people to close off the code?

      Funny how the GPL was created to "prevent" the very thing it does! Even worse, it's even iffier for the BSD project to accept contributions from the GPL project because that code could be GPL tainted. Companies giving back the code generally make it available under the same BSD license.

      In fact, this very thing could be happening with GCC and LLVM - the LLVM guys make a fix for a problem, the GCC guys take it and fix GCC. Great, that's how open-source should work. But now, if the GCC guys fix a problem, the LLVM guys cannot take it, or even look at it (GPL taint). They may not even be able to take a patch. They have to independently fix it themselves.

    15. Re:RMS needs to get over the GPL by Alef · · Score: 2

      Another advantage of keeping involved and contributing back is that you get to influence the direction in which the upstream project goes (if the maintainers aren't too obstinate). And through that you make better use of the work produced by people you don't have to pay. Also, contributing a patch back lets you exploit the quality assurance provided by the project, be it explicit or implicit in the fact that your patch will be used and tested in practice by a lot of more people.

      I'd say it makes business sense to contribute back to BSD projects for anything that isn't the core technology of your company. If I run a hypothetical company that makes, let's say, raytracers for CGI effects, the advantages I have by keeping fixes in a logging framework or networking library to myself are very small. Contributing back gains me more. Those things aren't what my company is supposed to be good at anyway.

      If we would be using a BSD licensed raytracing library, on the other hand, then it would be a different matter. But if you are a company whose business case is developing commercial raytracers, you'd better be far ahead of what's available through BSD licensed software in terms of raytracing, or you should ask yourself if you are in the right market. And if you have that expertise and it is what you use to compete, you would keep it in-house under any circumstances.

      So I'd say (smart) companies contribute back whenever it's something that's outside of their core business, and otherwise not. So GPL or not doesn't really make a difference in regard to that -- it's not going to make a company give away what they use to compete, it only makes more companies stay away from your code. Then again, if that's what someone wants, as a matter of principle, then fair enough, it's their choice and I have nothing to say against it.

  3. Re:The GPL is like the Slashdot Beta: Unwanted! by paxcoder · · Score: 4, Interesting

    What do you think the purpose of copyleft (of which GPL is just a manifestation) was? The problems it adressed persist.
    Now let me address the "freedoms" you're defending. There's always the quote "your freedom to wave your fist ends where my nose begins", but I'm not going to argue that in this case - let's assume users don't have freedoms like FSF asserts. Let's listen to you and focus on corporate freedoms:
    You're saying people should have the "freedom" to leech, because this technically means the least amount of restrictions on a code. But in fact, what you're really defending is the right of authors of derivatives to restrict what their users can do. And you know what? I agree that they have that freedom: They built it, they should be able to do with it whatever they want. But the dissonance in your opinion is this: The author of the original piece of code which they built on also has the same right! So if you're going to defend people who impose restrictions that hurt end-users, why attack those that use the same right in the purpose of maximizing the freedoms of those same end-users?
    So there are restrictions in both stories, just that BSD is asocial and GPL isn't: BSD says "do what thou wilt" and that inevitably favors the bully. Mind you, the bully (=the warlord in the case of anarchy) is going to impose his own rules. GPL says instead: Fair play rules are valid for everyone.

  4. Build compatibility by TheloniousToady · · Score: 4, Interesting

    Having read TFA, this collaboration appears to be partly about build compatibility. So far, it sounds like LLVM/Clang has been imitating GCC options. But what happens when one or the other of them adds a new option or feature? That might break builds designed for the other one. So, it sounds like the two groups would like to start communicating and coordinating so that both systems can be compatible at a build level in the future. Implicit in this is that both would continue to exist as independent entities and that build compatibility would be a primary goal for both. Perhaps some deeper form of technical collaboration might even be possible in the future.

    Then again, I may have that all wrong. I know nothing about it except what I learned from reading TFA. If that causes a problem, I'll try not to do it again.

  5. "If I were RMS I'd be worried" by smittyoneeach · · Score: 3, Interesting

    RMS is like a typecast actor. He has his role, and plays it unswervingly.
    However, if there are ways to help out the studio, even if he's not in the film, what's the issue?

    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  6. Re:Bizarre Personal Cult by xororand · · Score: 4, Interesting

    RMS has been one of the most important men of the last 50 years or so.
    His contribution to society is immense.
    We need more like him to fight for our freedom.

    Just imagine a world with only proprietary software.
    Locked into golden prisons.
    No thanks.

  7. You are not reading history. by tlambert · · Score: 5, Insightful

    I'm not sure how GCC could benefit from this.

    You are not reading history.

    GCC moves too damn slow and doesn't include features that developers (and more importantly: the companies which pay developers) want. These days, that includes the changes between the GPLv2 and GPLv3 not being wanted by the people who pay the bills.

    GCC was more or less started in 1984: http://www.gnu.org/gnu/thegnup...

    GCC was almost replaced by the EGCS fork in 1997, and it took two years before RMS finally gave up on the idea of having the ultimate editorial control over the language implementation, and "blessed" EGCS as the replacement for GCC. When he did that, he gave up on limiting the OSs that the compiler worked on, and limiting the inclusion of things like #pragma (which used to exec "nethack" because RMS didn't like it), and some of the language front ends that are now included, like g77, which RMS didn't want.

    GCC is on the verge of being marginalized again by LLVM; all the sexy compiler work is happening in LLVM, all the bright young minds in the compiler world are going to LLVM because it's a lot easier to make a front end for a new language or a back end for a different processor or embedded controller or virtual machine. LLVM is the "go-to" compiler for academic projects involving compiler research.

    It makes sense; GCC: 1984; +15 years = EGCS: 1999; +15 years = ????: 2014.

    RMS' recent appeal *might* be able to attract a bunch of new ideologues to the GCC project, and have them forsake LLVM work, but more likely course and project requirements for a degree, and after that, an employer, probably mean that LLVM is going to remain the "go-to" compiler for the new blood.

    The idea that GCC can leverage some of the new blood by making it easier for them to work with code in both contexts, rather than leaving GCC in the ashbin of history, is about the *only* way to give GCC the transfusion of new blood it's going to need to survive another 15 years.

    It also couldn't hurt to expand the number of (or replace) members of the "GCC steering committee" so that GCC can get a little more forward momentum. You can get forward momentum one of two ways: (1) more specific impulse, or (2) take off the parking brake.

    1. Re:You are not reading history. by EvanED · · Score: 2

      So first, from my informal observations I think you'd find O'Caml much more commonly used than either of those for academic projects in compiler research.

      Second, don't look at it from the point of view of what the researchers are writing their programs in, but rather look at what languages they're analyzing and what they're using to do it. And even though the researchers are writing in O'Caml or whatever, the programs they're interested in looking at are usually C, C++, or Java, because those are what is used out there in the real world. Java has a different suite of tools (SOOT is popular), but if you're looking at someone doing work work either on compiler optimizations for or on some kind of analysis of C or C++ code, chances are quite good they'll be using LLVM to generate their IR.

  8. Re:The GPL is like the Slashdot Beta: Unwanted! by Arker · · Score: 4, Interesting

    Except that you did it wrong.

    BSD gives the author freedom, but screws the user. (1-1=0)
    GP gives the author freedom, and preserves it for the user also. (1+1=2)

    Really, this is simple math, there is no excuse for such a fundamental mistake.

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  9. Re:The GPL is like the Slashdot Beta: Unwanted! by Immerman · · Score: 3, Informative

    First off the author always has the freedom to do whatever they want (assuming they haven't transferred copyright to someone else), the license only applies to *other* people. If you're the author of a derivative work and feel you should get to claim credit for the whole of "your" work, then by all means feel free to replicate the no doubt trivial amount of labor put into all those libraries you used.

    BSD grants essentially unlimited freedom to developers directly downstream, but makes no attempt to preserve those freedoms for anyone further downstream.
    GPL grants somewhat restricted freedoms to downstream developers, but in doing so they ensure that everyone further downstream continues to get the same freedoms.

    --
    --- Most topics have many sides worth arguing, allow me to take one opposite you.
  10. Re:The GPL is like the Slashdot Beta: Unwanted! by maccodemonkey · · Score: 2

    Except that you did it wrong.

    BSD gives the author freedom, but screws the user. (1-1=0)
    GP gives the author freedom, and preserves it for the user also. (1+1=2)

    Really, this is simple math, there is no excuse for such a fundamental mistake.

    Unless I ignore the Gnu implementation because of my commercial interests so the user never sees an implementation.

    So we go back to Gnu = 0.

    Seriously. I've seen projects and implementations totally scuttled over GPL. We would have LOVED to support the standard and commit code back, but the restrictions on our own code were unsustainable. So we went with BSD alternatives instead.

  11. Re:The GPL is like the Slashdot Beta: Unwanted! by Hatta · · Score: 2

    We would have LOVED to support the standard and commit code back, but the restrictions on our own code were unsustainable

    In other words, your project could not be viable without oppressing your users. Sounds like good riddance.

    --
    Give me Classic Slashdot or give me death!