Slashdot Mirror


FreeBSD Throws the Clang/LLVM Switch: Future Releases Use LLVM

An anonymous reader writes "Brooks Davis has announced that the FreeBSD Project has now officially switched to Clang/LLVM as C/C++ compiler. This follows several years of preparation, feeding back improvements to the Clang and LLVM source code bases, and nightly builds of FreeBSD using LLVM over two years. Future snapshots and all major FreeBSD releases will ship compiled with LLVM by default!"

360 comments

  1. speedily compiled post by Anonymous Coward · · Score: 0, Insightful

    as you can see...

  2. Grin by Whiteox · · Score: 3, Funny

    I'm just so HAPPY!

    --
    Don't be apathetic. Procrastinate!
    1. Re:Grin by fm6 · · Score: 1

      For us non-BSD muggles, please explain why.

    2. Re:Grin by Anonymous Coward · · Score: 0

      Because he meditates a lot.

    3. Re:Grin by Anonymous Coward · · Score: 1, Informative

      For us non-BSD muggles, please explain why.

      Basic alphabet fetish. After all, "BSD", the abbreviation for "Berkeley Software Distribution", is more letters than the abbreviation for "Linux", which would just be "L". Thus, it only follows that "LLVM" appeals to him more than the simple "GCC", which is only three letters, and thus old and stupid.

    4. Re:Grin by Anonymous Coward · · Score: 5, Informative

      This explains it well: http://unix.stackexchange.com/a/49970/7345

    5. Re:Grin by ByOhTek · · Score: 5, Informative

      Generally a lot of BSD users don't like the GPL, and getting rid of a GPLed compiler makes them quite happy.

      Also, although I've heard a lot about the inner workings of GCC being rather intertwined and convoluted, whereas LLVM is simpler to work with and modify (not sure how true this is).

      --
      Self proclaimed typo king, and inventor of the bear destroying coffee table (patent not pending).
    6. Re:Grin by Nadir · · Score: 1

      Because he's free from Free

      --
      --
      The world is divided in two categories:
      those with a loaded gun and those who dig. You dig.
    7. Re:Grin by Creepy · · Score: 5, Interesting

      It isn't necessarily an issue with the GPL (aside from 3 being invasive, which I personally have an issue with and so do the lawyers I work with) - I have a problem with Stallman's (aka RMS) model, which says charge for hardware and give the software with source away for free.

      I worked for a CAD software company (we were bought by a huge multinational conglomerate, so I technically still work for them, but I moved around and rarely touch CAD these days). In our former incarnation, we sold exactly no hardware and were bundled with exactly zero hardware, but ran on pretty much every platform imaginable (9 at one point, but much fewer now, since our customers are mostly moving to Linux or Windows). Giving away our software (not to mention the source code) would be a really bad business model, but to appease those in RMS's dream world, we'd need to find hardware partners and give it away for free with the hardware and be paid by the hardware vendor - but since we have to give away source, we'd more than likely use an in-house developed proprietary language to make porting as difficult as possible. This, in fact, is a BAD and not very open business model - if we'd been bought by our current owner, we'd almost certainly be proprietary software for their hardware and not run on platforms like Linux or even Windows. This happens in the console world all the time - when Microsoft bought Bungie, they basically shafted what Bungie was known for - mac games (and took a year to release Halo on Windows/Mac to keep it XBox exclusive as long as possible to the ire of Steve Jobs - later releases became XBox exclusive). If you think that is a good thing, great for you - I don't. Incidentally, the part of the company I work for has an open data model as well - that makes it easy for customers to switch, but we are doing our jobs well because few actually do.

      I've been at odds with RMS over this for years...

    8. Re:Grin by fnj · · Score: 1

      It has little to do with "liking" or "disliking" the GPL. It has more to do with the GPL being incompatible with BSD's own license (and just about any other license). It's true there is a compile firewall with gcc, but it is still a less than ideal situation. BSD is also going to bring out a GPL-free C++11 stack.

    9. Re:Grin by Anonymous Coward · · Score: 4, Insightful

      With BSD software, not only are you giving away the source code, but you are giving it away with even fewer restrictions than with GPL.

      What's that you say? You want to take the software that other people have released and use it in your closed source product? Well then of course you like BSD software better. But you can obviously see why many people who write the open software prefer a GPL style.

    10. Re:Grin by DeathFromSomewhere · · Score: 5, Informative

      is there a reason for not making the front ends dynamic libraries which could be linked by any program that wants to parse source code?

      Quoth the Stallman himself:

      One of our main goals for GCC is to prevent any parts of it from being used together with non-free software. Thus, we have deliberately avoided many things that might possibly have the effect of facilitating such usage, even if that consequence wasn't a certainty. We're looking for new methods now to try to prevent this, and the outcome of this search would be very important in our decision of what to do.

      Not only is the poor design true, it was very intentional. This is why we need the LLVM project. KDevelop and such shouldn't have to write their own compiler front ends to get feature parity with Visual Studio; but right now they do.

      --
      -1 overrated isn't the same thing as "I disagree".
    11. Re:Grin by Zenin · · Score: 3, Insightful

      With BSD software, not only are you giving away the source code, but you are giving it away with even fewer restrictions than with GPL.

      But you're not forced to give all of it away, as you effectively are with the GPL.

      If you've created something that you'd like to give back to the community, you can. -And it's very often in your own best interests to do so. If however, you've created something that, at least for now, you'd prefer not to give away, well you're free to do that instead.

      The BSD model has proven that you don't need to twist peoples arms to get them to give back generously to the community. It's proven that people can have the freedom to choose whatever business model they feel is best for them, and the community still benefits greatly. Often more so then a GPL model.

      GPL... Among many freedoms it takes away, it destroys the freedom to select a business model of your choice. And worse, the few business models that the GPL does allow for are intrinsically very, very bad on the whole. You're either forcing odd hardware/software partnerships like the poster above, or you're relying upon creating sloppy software and weak documentation in order to ensure a market for your "support services". The later, IMHO, is a primary cause behind the quality issues that have forever plagued GPL software quality, design, and documentation.

      --
      My /. uid is better then your /. uid
    12. Re:Grin by jandrese · · Score: 1

      It's also hell on people who want to make a better debugger than gdb. I have always been frustrated by how terrible gdb is at handling threaded code, and amused that it was endless threading bugs that kept Hurd from ever reaching a usable state.

      --

      I read the internet for the articles.
    13. Re:Grin by Paul+Jakma · · Score: 1

      The GPL doesn't force you to give the software away. You can sell it. Indeed, RMS himself used to **sell** tapes of GPL software to fund the FSF. RedHat make *billions* on per-seat licensing of GPL software. Nor does GPL software force you, as an author, to GPL all the software. As the author you are completely free to draw the line as you wish between which bits of your software are GPL and which proprietary. You just grant yourself an exception.

      What the GPL *does* do, which a BSD licence does not, is protect you from anyone who tries to take your source and then make their own proprietary modificaitions. If you released your code as GPL you can now sue them, and get damages. If you released as BSD, you can't - they are free to make closed modifications to your code (as Apple have done with FreeBSD).

      You're at odds with RMS, congratulations, but you're also falling quite a bit short in your understanding of the licences you do and don't have issues with.

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    14. Re:Grin by Sponge+Bath · · Score: 2

      ...prevent any parts of it from being used together with non-free software

      Sounds similar to arguments against a stable driver interface for the Linux kernel.

    15. Re:Grin by Tough+Love · · Score: 1

      I have a problem with Stallman's (aka RMS) model, which says charge for hardware and give the software with source away for free.

      Richard Stallman's model says such thing. It says "if you want to save costs by using this source code then you must make your changes available to whoever uses it."

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    16. Re:Grin by Anonymous Coward · · Score: 0, Insightful

      But you're not forced to give all of it away, as you effectively are with the GPL.

      Utterly false.

      You can license just part of your own code as GPL and release as much or as little as you want.

      You even still retain complete control of your code that you have previously released as GPL, so you can then take it and change it or use it in your closed software, or license it out for a price to someone, or release it as BSD.

      The BSD model has proven that you don't need to twist peoples arms

      GPL is not twisting anybody's arm. I challenge you to find a single example of a GPL project which has engaged in predatory patent trolling, deliberate compatibility breakage to harm competition, or format or protocol obfuscation to lock in customers. Things which some closed software companies engage in regularly is completely against the nature of open source development, but also open source makes it pretty hard for any of those techniques to be effective.

      Not saying it would never happen, but there is nothing about the GPL license that twists anybody's arm.

      Oh, you meant "you twisted my arm" as-in, "I want to use your code that you own the rights to, but under the terms I set. Waaahhh.". In that case, fuck you, that's copyright infringement and have fun destroying people's livelihood, hypocrite.

       

      GPL... Among many freedoms it takes away

      Stopped reading there. You're either a massive troll or a clueless friggin nincompoop.

    17. Re:Grin by the_B0fh · · Score: 2

      I think a lot of people miss the point. The copyright owner chooses the license. If you don't like the license, don't use it (as FreeBSD did).

      Whether you are forced to share or not should be one of thing things the project/company should decide on early. If it's not important, then it doesn't matter. If it *is* important, then select the appropriate license.

      It is not like you can pay Microsoft for a windows license, and then violate their license (remember hacking windows NT workstation to run IIS server?) and think it wouldn't get you into trouble. Same thing here.

      If you don't like the license, don't use it. Write your own. Simple as that.

      Don't understand why people keep making it such a huge issue.

    18. Re:Grin by Anonymous Coward · · Score: 0, Informative

      The GPL doesn't force you to give the software away. You can sell it. Indeed, RMS himself used to **sell** tapes of GPL software to fund the FSF. RedHat make *billions* on per-seat licensing of GPL software. Nor does GPL software force you, as an author, to GPL all the software. As the author you are completely free to draw the line as you wish between which bits of your software are GPL and which proprietary. You just grant yourself an exception.

      Hu? Let say you release a part of your software under GPL and "draw a line" for the rest, I'm entitled to ask you to release the whole thing under GPL, unless you're able to prove that the part you put on the other side of the line is not a derivative work of GPL'd part. In other word, you cannot release half of a software as GPL.

      I'm not GP, but you seem to be also a bit short in your understanding of the GPL.

    19. Re:Grin by Anonymous Coward · · Score: 0

      What the GPL *does* do, which a BSD licence does not, is protect you from anyone who tries to take your source and then make their own proprietary modificaitions.

      To be nitpicky it doesn't. It prevents them from distributing it without also distributing the source code changes with the binary. They can still limit the distribution of source code to the customer together with an NDA.
      Also, the difference between someone taking your code, making modifications and selling it and someone taking your code and selling it without making any modifications. (Or making the modifications public.) is a very minor concern for most companies. The big issue is that someone else can sell the software without having to put in the development cost and neither GPL nor BSD protects against this.

    20. Re:Grin by Anonymous Coward · · Score: 0

      I'm sick of ignoramuses blurting retarded shit out of their wrong-hole without even the slightest inkling to educate themselves on what they obviously know nothing about but would be simple to learn. People like you are what has turned democracy into a race to the bottom. So I'll refrain from sugar coating it:

      Wrong. Moron.

    21. Re:Grin by statusbar · · Score: 3, Informative

      Here are some very interesting, compelling reasons to switch to Clang:

      http://channel9.msdn.com/Events/GoingNative/GoingNative-2012/Clang-Defending-C-from-Murphy-s-Million-Monkeys

      --
      ipv6 is my vpn
    22. Re:Grin by Rich0 · · Score: 3, Insightful

      Hu? Let say you release a part of your software under GPL and "draw a line" for the rest, I'm entitled to ask you to release the whole thing under GPL, unless you're able to prove that the part you put on the other side of the line is not a derivative work of GPL'd part.

      Only if you wrote part of it. If I write a program and release half of it under the GPL, the only person who can sue me over it is me.

      The GPL is only an issue if you want to steal other people's code. It doesn't force you to do anything with code you write, unless you mix it with code you didn't write and don't have a license to use (other than the GPL).

    23. Re:Grin by gomiam · · Score: 1

      Let say you release a part of your software under GPL and "draw a line" for the rest, I'm entitled to ask you to release the whole thing under GPL, unless you're able to prove that the part you put on the other side of the line is not a derivative work of GPL'd part. In other word, you cannot release half of a software as GPL.

      You can ask me to release the source code. But there is a problem: if everything we are talking about was completely made by me, then I own the rights to it. It doesn't matter whether I create new versions of it and don't publish the source code to them: it is my code. GPL applies to people who don't own the copyright to the work (that is you and everyone else in this case). So you can ask until you are blue in the face and I may ignore you as it suits me. Nothing personal to it, mind you.

      Of course, if I try to close my version of someone else's source code which is licensed under the GPL, then you would be entitled to obtain it from me if you bought a copy of my binaries... and I should comply.

    24. Re:Grin by Tough+Love · · Score: 2

      Thanks for sharing that. Perhaps it rankles that RMS has earned himself a place in the history books as a great benefactor of society, while your snarky Slashdot posts have accomplished no such thing?

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    25. Re:Grin by fast+turtle · · Score: 3, Interesting

      unlike GCC, Clang/LLVM was designed to ensure the optimizations are the same each and every build. This means you can compile from source and check the md5 sum of your binary against the master md5 and know if the source has been modified before compilation. Critical for signed binaries.

      Another benefit is the support for older hardware that's been dropped by the GCC team along with ease of debugging. I've had compiler optimizations introduce unexpected bugs/failure mode in the Linux kernel itself that disappeared when the No Optimization flag was set. Simply put, if the kernel isn't stable, I don't give a damn how stable the rest of your system is, it's not stable because you can't trust the kernel and that's why Clang/LLVM is all about.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
    26. Re:Grin by RR · · Score: 1

      ...prevent any parts of it from being used together with non-free software

      Sounds similar to arguments against a stable driver interface for the Linux kernel.

      That one was for a different reason. Linus is a "pragmatist," and he doesn't believe in Stallman's quest to turn all software into free software.

      Stallman wanted to prevent people from using GCC with a non-free optimizer or whatever, because he didn't want people to depend on that non-free optimizer to make a practical system.

      Linus wants to retain his own freedom to modify the parts of the kernel that he plays with the most. Linux already has a stable userspace ABI, but a stable kernel ABI means committing to a particular behavior forever. Preventing non-free kernel modules is just gravy on top, because non-free modules lead to crashes that are impossible to fix. That's why adding a non-free module immediately turns the kernel into a Tainted kernel.

      --
      Have a nice time.
    27. Re:Grin by fatphil · · Score: 1

      > I have a problem with Stallman's (aka RMS) model, which says charge for hardware and give the software with source away for free.

      Bollocks.

      RMS, and the GPL, do not force you to give your software away, they're perfectly compatible with selling your software for real money.

      I hope you enjoyed burning your straw man.

      --
      Also FatPhil on SoylentNews, id 863
    28. Re:Grin by fm6 · · Score: 1

      You obviously have different priorities than previous repliers who complain about GCC licensing. Is licensing at all an issue for you?

    29. Re:Grin by ckaminski · · Score: 3, Insightful

      Everyone seems to forget that the GPL wasn't created for DEVELOPER freedom, but for end-user freedom.

      Dummies. :-P

    30. Re:Grin by Anonymous Coward · · Score: 0

      Including all the commercial users like NetApp, Juniper, and EMC. Their concerns are what led FreeBSD down the clang path.

    31. Re:Grin by gr8_phk · · Score: 0

      I worked for a CAD software company....

      ...that sold CAD software.

      So your company wrote a bunch of software as a product. Obviously you didn't want to give away your source code with that product under any license, not GPL or BSD. So your example fails from the start to make a distinction.

    32. Re:Grin by gr8_phk · · Score: 1, Insightful

      With BSD software, not only are you giving away the source code, but you are giving it away with even fewer restrictions than with GPL.

      Yeah, but someone who forks it may not offer source to other people. Now you've got a fork out there that offers less freedom than the original. You can argue that "the original is still there" but that's an assumption - presumably a closed source commercial version might become more polished and more popular. Perhaps the original maintainer dies (oh wait, that is a certainty) and the only one actually distributing it is the commercial version that doesn't come with source. GPL protects the freedom of all users of the software, not just subsequent developers. And don't get confused, it's not the BSD license that offers source to subsequent users of a fork - it's the developers of the fork that often do that, but they don't have to.

      The freedom to deny someone the same freedom that you enjoy is... odd.

    33. Re:Grin by mattack2 · · Score: 1

      But if someone can just compile your software, why are they going to pay for it?

      (No, not pay for SUPPORT.. Pay for the software itself.)

    34. Re:Grin by smash · · Score: 1

      but a stable kernel ABI means committing to a particular behavior forever

      No... it means you commit to making an interface available for as long as it is supported.

      Windows, OS X, BSD, etc have gone through different ABIs. This is the sort of change major version numbers are for - not simply version number inflation because the maintainer is bored with major version 2, etc.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    35. Re:Grin by Pseudonym · · Score: 1

      For those who don't have an emotional investment in the GPL vs BSD pissing contest, it's good that we have two free compilers which are good enough to compile a kernel. GCC has different design goals (e.g. multiple front-ends), but still, the competition is good for it.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    36. Re:Grin by caseih · · Score: 1, Insightful

      Common misconceptions at best, blatant lies and FUD at worse. Sounds like you don't understand the GPL or copyright law. If the code isn't yours you don't have any freedom at all to build a business model around it. Period. Except as granted by a license, including the GPL.

      What you are basically complaining about is that you can't take (steel) someone else's code and sell it when it's GPL, but you can with the BSD.

      If I own the copyright on my own code, I can release it under the GPL *and* sell it as a proprietary, closed-source, product. So really from a business point of view the GPL is the best license to choose. It lets your code have a life of its own, and a community, but you can still sell a proprietary product on the code if you wish. You can license the code however you want since it's yours.

      Seems like most people's gripe with the GPL comes from the fact that they aren't free to do anything they want with it just because it was freely downloaded. If you don't like the GPL, write your own code. simple as that.

    37. Re:Grin by Anonymous Coward · · Score: 1

      No, he wants to take other people's software and use it without permission in his product. That's why he doesn't like GPL. And that's why his opinion is of zero value.

    38. Re:Grin by Dasuraga · · Score: 1

      Have extremely bad documentation, making it more or less impossible to compile it yourself (this is what a lot of business GPL sofrware does).

    39. Re:Grin by LingNoi · · Score: 1

      Next step would be to replace the GNU tool chain in Linux so we can end the pathetic GNU/Linux thing forever.

    40. Re:Grin by LingNoi · · Score: 1

      Loads of people have figured this out. MySQL for example has a community and enterprise edition. Id Software just released the BFG edition of Doom 3 along with open sourcing the code, you still need to pay for the game to get the game assets.

    41. Re:Grin by devent · · Score: 1

      That is not RMS policy at all. When did he says that you should bundle hardware and software, and give the software away (for free I assume you are implying)?

      RMS says that a user should have the three freedoms: 1. to have access to the code, 2. to modify the code and 3. to re-distribute the modified code. Never did he stated that you should give away your code for free.

      I would think it would not matter at all if you license your CAD software under the GPL. No of your users can modify and re-distribute your CAD software anyway so what does it matter. There will be no competition, because nobody have the know-how of your code.

      --
      http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    42. Re:Grin by unixisc · · Score: 3, Insightful

      But you're not forced to give all of it away, as you effectively are with the GPL.

      Utterly false.

      You can license just part of your own code as GPL and release as much or as little as you want.

      You even still retain complete control of your code that you have previously released as GPL, so you can then take it and change it or use it in your closed software, or license it out for a price to someone, or release it as BSD.

      Yeah, but this right is denied downstream, ironically under the very copyleft clauses that claim to preserve the 'software freedom'.

      The BSD model has proven that you don't need to twist peoples arms

      GPL is not twisting anybody's arm. I challenge you to find a single example of a GPL project which has engaged in predatory patent trolling, deliberate compatibility breakage to harm competition, or format or protocol obfuscation to lock in customers. Things which some closed software companies engage in regularly is completely against the nature of open source development, but also open source makes it pretty hard for any of those techniques to be effective.

      Not saying it would never happen, but there is nothing about the GPL license that twists anybody's arm.

      Oh, you meant "you twisted my arm" as-in, "I want to use your code that you own the rights to, but under the terms I set. Waaahhh.". In that case, fuck you, that's copyright infringement and have fun destroying people's livelihood, hypocrite.

      It's not an issue of mere taking the code and changing the terms - let's say I took something that the GP had written and modified it, and then distribute the modified version, that's where the differences start. With GPL, I'm forced to release the source code of my modifications. With BSD, I don't have to - only the original BSD source code has to be given, but I still have the option of keeping the source code of my modifications to myself, even while distributing.

      GPL... Among many freedoms it takes away

      Stopped reading there. You're either a massive troll or a clueless friggin nincompoop.

      Read the 4 freedoms on the home page of the FSF. GPL violates every one of them.

    43. Re:Grin by unixisc · · Score: 1

      This then gets back to the old argument of whose freedom is more important - that of the developers, or the software?

      Let's say someone takes an open source software, adds a few of his own modifications to it that include more polish and functionality, and releases it. He wishes to sell it and restrict downstream redistribution, which is essential if he is to succeed in selling the software. With the original software - either under BSD or under GPL, he can't. However, the moment he adds in his modifications, he has the right to change the license to the whole package, as long as he retains the credits of the original authors of the original software. Let's say he puts it under a new license where he provides both binaries and source code to paying customers, but forbids them from redistribution.

      In this way, his business interests are protected, since the only people who can get his software are those who buy it from him. At the same time, he promotes open source in that if any of his customers have problems w/ his software and happen to have software engineers on their payroll, they can go through the software itself and tweak it for their own internal uses. As a result, the licensee of the software has what he needs, and is protected even if his vendor goes tits up.

      With GPL software, a vendor who writes a modification of the software is forced to make his modification GPL as well - something he isn't forced to under BSD. Which is a big difference

    44. Re:Grin by unixisc · · Score: 2
      Responding to 2 of the above responses to the parent:

      Hu? Let say you release a part of your software under GPL and "draw a line" for the rest, I'm entitled to ask you to release the whole thing under GPL, unless you're able to prove that the part you put on the other side of the line is not a derivative work of GPL'd part.

      Only if you wrote part of it. If I write a program and release half of it under the GPL, the only person who can sue me over it is me.

      The GPL is only an issue if you want to steal other people's code. It doesn't force you to do anything with code you write, unless you mix it with code you didn't write and don't have a license to use (other than the GPL).

      That's a non-sequitur to what the parent had written. What he is pointing out is that if you had written a GPLed program, and he added his own part but did not want to release the source code to his modifications - under GPL, which the combined license would have to be under, he couldn't. That's not a problem in BSDL - there, since it is not a CopyLeft license, he could take that software, add his modifications and sell only the binaries. Or, if he wished, put it under a new license (so long as he preserved your credits there) that would provide the source code to paying customers, but prevent any downstream redistribution.

      Let say you release a part of your software under GPL and "draw a line" for the rest, I'm entitled to ask you to release the whole thing under GPL, unless you're able to prove that the part you put on the other side of the line is not a derivative work of GPL'd part. In other word, you cannot release half of a software as GPL.

      You can ask me to release the source code. But there is a problem: if everything we are talking about was completely made by me, then I own the rights to it. It doesn't matter whether I create new versions of it and don't publish the source code to them: it is my code. GPL applies to people who don't own the copyright to the work (that is you and everyone else in this case). So you can ask until you are blue in the face and I may ignore you as it suits me. Nothing personal to it, mind you.

      Of course, if I try to close my version of someone else's source code which is licensed under the GPL, then you would be entitled to obtain it from me if you bought a copy of my binaries... and I should comply.

      If you took someone elses GPLed code, added to it some features of your own, then that automatically becomes GPLed if combined w/ that program. That's why people term GPL as viral. So in the above example, let's say you took the GP's code, added your own stuff to it, and then while redistributing it, chose to only redistribute source code to the work from which you started. Guess what - you can't - you'd have to release everything - what he wrote, and what you wrote. That's the thing about CopyLeft.

      With BSD licensed code, or its variants, you are under no such restriction. Only thing you have to do there is preserve credits of the original authors.

    45. Re:Grin by unixisc · · Score: 1

      I have a problem with Stallman's (aka RMS) model, which says charge for hardware and give the software with source away for free.

      Richard Stallman's model says such thing. It says "if you want to save costs by using this source code then you must make your changes available to whoever uses it."

      Actually, he says nothing about costs. His whole jihad is about the liberation of software, which he euphamistically calls 'Software Freedom'. If you think I'm smearing him, read his essay 'Why software should not have owners'. That's way beyond talking about whether source code should always accompany binaries or not.

    46. Re:Grin by unixisc · · Score: 1

      No. His company wrote the software - it was CAD software, so usually, it would be pretty expensive to start with. So the last thing they can afford is redistribution. They probably wouldn't mind giving the source code as well, if the license allowed them to prevent redistribution or resale. While both GPL and BSDL allow redistribution, only GPL is copyleft, BSDL ain't. As a result, under BSDL, they could modify the license to prevent downstream redistribution while allowing the source code to accompany the binaries all the time. Under GPL, no way!

    47. Re:Grin by fatphil · · Score: 1

      That is a question that applies at least as much to BSD/NCSA-licensed software such as Clang/LLVM as to GPL-licensed software such as GCC.

      And one that has been answered many times by the businesses that do release their software under the GPL, BSD, and other licenses that permit redistribution.

      --
      Also FatPhil on SoylentNews, id 863
    48. Re:Grin by unixisc · · Score: 1

      Actually, GNU has 4 freedoms - the right to run it for any reason, the right to study it (for which source code is needed), the right to help your neighbor by redistributing it, and the right to improve AND RELEASE the improvements to the community. The first 2 freedoms are not as problematic, but the third one is actually the anti-business clause of GNU, while in the 4th one, the second part of it - releasing the improvements - is a continuation of that same anti-business clause. That's the reason companies treat the GPL as radioactive.

    49. Re:Grin by cabraverde · · Score: 1

      Not only is the poor design true, it was very intentional. This is why we need the LLVM project. KDevelop and such shouldn't have to write their own compiler front ends to get feature parity with Visual Studio; but right now they do.

      I suspect that he's making retrospective excuses for poor design; I doubt it's as intentional as he claims. A GPL'd shared library would give the idealogical results he appears to want. (Which I support, incidentally)

    50. Re:Grin by Anonymous Coward · · Score: 0

      The original author can pick whatever license he wants to.

      That could be just like BSD, except no copying (i.e. not like BSD at all), or just like GPL, except no copying (i.e. not like GPL at all).

      The difference between the two licenses apply to closing up OTHER PEOPLES work. The BSD license allows it, the GPL doesn't.

    51. Re:Grin by robmyers · · Score: 1

      And also at odds with reality. rms certainly says you can charge for software...

    52. Re:Grin by Paul+Jakma · · Score: 2

      Yes, correct, it prevents the distribution of. Private modifications are fine either way.

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    53. Re:Grin by Paul+Jakma · · Score: 1

      No. If I'm the author of software, I can decide to GPL some of it and keep other parts proprietary. I own it, I can do this. No one else can do this however.

      The copyright holder of the code is exempt from the GPL. They have no need for a licence via the GPL, because they own it - anything they do with it is legal, at least under copyright law. Copyright only constrains *others*.

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    54. Re:Grin by arglebargle_xiv · · Score: 1

      Also, although I've heard a lot about the inner workings of GCC being rather intertwined and convoluted, whereas LLVM is simpler to work with and modify (not sure how true this is).

      The internals of gcc are an absolute nightmare, even gcc's own developers admit this. A side-effect of this is that gcc is difficult to maintain, rather buggy, and any changes create a serious risk of introducing further bugs. In terms of code generation, I help maintain a sizeable OSS cross-platform codebase, and gcc alone has more compiler bugs than all other compilers it's built with combined. We've got so many "this silly-walk of code is necessary because without it gcc generates invalid code" conditional compile sections in our code it's not funny, and every new release of gcc brings about further kludges to get around bugs in the code generator. The sooner we can get away from everything using gcc as the default compiler the better.

    55. Re:Grin by the_arrow · · Score: 1

      But if someone can just compile your software, why are they going to pay for it?

      Well, a company selling a GPL'd program don't have to give the source to anyone who ask, only the people/companies it distributes it to. So you can't compile it since you don't have it unless you pay for it.

      --
      / The Arrow
      "How lovely you are. So lovely in my straightjacket..." - Nny
    56. Re:Grin by arglebargle_xiv · · Score: 1

      Another benefit is the support for older hardware that's been dropped by the GCC team along with ease of debugging. I've had compiler optimizations introduce unexpected bugs/failure mode in the Linux kernel itself that disappeared when the No Optimization flag was set. Simply put, if the kernel isn't stable, I don't give a damn how stable the rest of your system is, it's not stable because you can't trust the kernel and that's why Clang/LLVM is all about.

      That's exactly the point I was making in this post earlier on in the discussion. Unless you've got the ability to run massive amounts of regression tests to make sure everything's OK, you can't trust the output of gcc with optimisation enabled. So far we haven't found a single compiler bug with LLVM. In contrast the last gcc compiler bug we had to work around was just over a week ago, a simple pointer assignment where the write went to who-knows-where in memory when optimisation was enabled.

    57. Re:Grin by Anonymous Coward · · Score: 0

      Well, EVERYONE doesn't forget, but yeah, a lot have. This is because it was all so freakin' long ago that nobody really cares anymore. That's why GPL violations are blooming. Do the GPL thing if that's what you want and let them do their BSD thing. They do good work. What's wrong? Doesn't GPL get enough of the spotlight?

    58. Re:Grin by Anonymous Coward · · Score: 0

      No. If I'm the author of software, I can decide to GPL some of it and keep other parts proprietary. I own it, I can do this.

      I swear I'm not trolling, but that is (or that was) not my comprehension of the GPL. Can you point me where in the GPL it says that the original author of software is partially exempt of respecting the GPL ?

      I agree that he owns the copyright on the software, I agree that he can decide to close completely the sources even after he has released them under GPL (i.e. the GPL'd versions will remain GPL for ever of course, there is nothing he can do about it, but he can close all subsequent versions and nobody can ask him for the code of these), but I don't agree (or I didn't know) that he can choose to release only half of a software under GPL. What if the closed part is vital to make the software work or even compile ?

      No one else can do this however.

      That we agree on.

    59. Re:Grin by gr8_phk · · Score: 1

      No, he wants to take other people's software and use it without permission in his product. That's why he doesn't like GPL. And that's why his opinion is of zero value.

      No, he's willing to get permission. He wants to use it without compensation or obligation. There are plenty of words with negative connotations to describe a person who desires that. People who release their code under GPL just don't want their work used by those folks.

    60. Re:Grin by Anonymous Coward · · Score: 0

      Really? You're not trolling? My golly gosh. Maybe you should not be opining about the merits of software licenses if you don't understand copyrights. Think, man, THINK. Use your brain for one second.

      A fucking LICENSE is granted BY THE OWNER of the software, to grant OTHERS an exception to the copyright restrictions on it, provided that they abide by conditions of the license.

      So two things. Firstly, and really damn simple. The owner is not subject to their own license. I don't need to license something from myself in order to use it. That's utterly ridiculous. Your stupidity astounds me.

      Secondly, if somebody does violate the terms of the license, this does not mean that any random Joe off the street can compel them to follow the terms of the license. What happens is that the license terms are not met, then the exception is not granted, and normal copyright applies. So if I release something as GPL, and Jim creates a derivative work and gives it to you without releasing his changes, YOU CAN NOT MAKE JIM DO JACK SHIT. You have no rights to the works involved. I may sue Jim for breach of copyright.

      Jesus, it's not that friggin' hard. I can't believe there can possibly be so many clueless know-it-all nincompoops posting so much nonsense about this. Oh, wait yes I can because it's the usual crap from the good old anti-GPL zealot idiots.

    61. Re:Grin by Anonymous Coward · · Score: 0

      So the case "software author splits software into A and B and release only A as GPL, B is closed" is clearer now.

      What happens if I, not the author of the original software, use A to create C and the author of A happens to include C in his software when distributing it, because he finds it worthy ? can I sue him to release B as GPL, since obviously B is a derivative work of A that is now distributed as A+C. But B is not a derivative work of C, but it is of A that is distributed with C, but it is not ... Discuss.

      [trolling]if GPL and copyright laws were written in as simple words as the BSDL, it would reduce the number of idiotic questions from clueless morons like me, stupid[/trolling]

    62. Re:Grin by Anonymous Coward · · Score: 0

      So you are saying that he doesn't know why he designed it the way he did; but you do? Wow that's ridiculous.

    63. Re:Grin by Nako · · Score: 1

      best comment ever

    64. Re:Grin by Anonymous Coward · · Score: 0

      If he creates a derivative work from your work, then you are entitled copyright of the result. So follow the trail.

      If B is derived from / linked with A only, then your copyrights do not apply to it. If he updates B to use A+C and releases B', then yes you can sue him to release the entire B' source, as-per GPL.

      [anti-trolling] This is all properties of copyright law, and applies to BSD code as well as GPL or anything else. For example I can not take your BSD licensed code and create a derivative work, then release the entire thing under a different license. Your license must stay with the work, as specified in the BSD license conditions. None of this stuff is trivial, however if you are going to distribute code, especially if you are going to take other people's work and distribute derived works, you REALLY need to pay attention to what you are doing. If you are not distributing code, then it really is not relevant to you.[/anti-trolling]

    65. Re:Grin by Anonymous Coward · · Score: 0

      If B is derived from / linked with A only, then your copyrights do not apply to it. If he updates B to use A+C and releases B', then yes you can sue him to release the entire B' source, as-per GPL.

      I should correct myself here. You can't sue him to release his source. You can sue for redress of grievances caused by his breaching of your copyright. But that does not necessarily mean a court will direct him to adhere to conditions of the license. Remember, a license is not a contract, it is basically granting exception to copyright if some conditions are met. If they are not met, it is simply normal copyright that applies.

      For example, if I released some trivial crappy program under GPL, and somehow a Microsoft developer took a few lines and inserted them into the Windows kernel. Then I could sue MS, but no judge anywhere would force them to release their kernel under GPL. They would probably be told to take out the offending code, and pay some amount for damages of copyright violation.

      Yes, that does mean the FUD from Microsoft and everyone else about GPL being viral and cancer is exactly that. FUD. A little piece of it won't suddenly infect your entire source code and bring down your whole organization.

    66. Re:Grin by Anonymous Coward · · Score: 0

      Alright, the notion of "derivative work" is still a bit blurry to me then. Let see if I got it right:

      if B is, let say, a library (and A links to it, not the other way around). Then A+C is released and still links to B, B is not a derivative work of A+C. So no "viral"-GPL on B, even if C makes direct API calls to B. C is a derivative work of A/B, not the other way around. Can I actually release C as GPL even though it makes calls to B which is closed and I'm not the author of ?

      if A is a library and B is the main program, and B links to it. Then A+C is released, does the "viral" aspect of GPL applies all the time or does it apply only if I can prove that: 1) B could not work at all without C or 2) that B could not work in the exact same way without C, 2') even if B code hasn't changed between the two releases and only call API functions from A defined before C was included (in short, what happens to B if C is a bugfix of A).

      I've got the feeling that for some cases it would be a judge to decide what is "derivative work" and what is not. Or is there any precedent ?

      [no-trolling]gotcha. We usually don't distribute per se, except in very rare cases, it's for internal use, however what we do often is send our patches upstream with the same license they use. And we got a legal department.[/no-trolling]

    67. Re:Grin by mattack2 · · Score: 1

      Well, a company selling a GPL'd program don't have to give the source to anyone who ask, only the people/companies it distributes it to. So you can't compile it since you don't have it unless you pay for it.

      Can't the people/companies it distributes it to legally give the source out too? That doesn't seem to be much of a deterrent?

      Also, even if this is true, this would seem to only apply to programs that they wrote IN THEIR ENTIRETY. If they did that, why would they GPL it if they were also trying to limit source distribution to people/companies it distributes to? Why not just license the proprietary source to their licensees the same way?

    68. Re:Grin by Tough+Love · · Score: 1

      I have a problem with Stallman's (aka RMS) model, which says charge for hardware and give the software with source away for free.

      Richard Stallman's model says such thing. It says "if you want to save costs by using this source code then you must make your changes available to whoever uses it."

      Actually, he says nothing about costs. His whole jihad is about the liberation of software, which he euphamistically calls 'Software Freedom'. If you think I'm smearing him, read his essay 'Why software should not have owners'. That's way beyond talking about whether source code should always accompany binaries or not.

      Did you actually read it yourself, or just the title? He says: "What does society need? It needs information that is truly available to its citizens—for example, programs that people can read, fix, adapt, and improve, not just operate." By gosh, he's right. That's the thing about RMS, if you actually bother to read what he writes it's nearly always impeccably logical. Notice, nothing in that essay about "charge for the hardware, give away the software". You're putting words in his mouth, and by the way, hyperbole like "jihad" does your argument no good at all. He says "should be free" and argues the point well. And he has proved his point, by giving the world GCC and many other valuable tools that made the world a better place. He did not say that you should not earn a living or sell proprietary software. He says software should be free, and he is right. Just like food should be inexpensive and nutritious, not that it always is. And sometimes there are perfectly valid reasons for that.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    69. Re:Grin by Anonymous Coward · · Score: 0

      Actually linking is understood to create a derived work. It does not matter which way the links go, the combined work is derived from both.

      This is the reason for the LGPL license, which can be used for things like system libraries that are usable for proprietary code, by providing exception from linking. And the "system call exception" for the Linux kernel, which provides a similar exception.

      As far as that, I'm not a lawyer so I don't know much case law. I think there is definitely some uncertainty and/or untested areas around the fringes of what constitutes a derived work.

    70. Re:Grin by smash · · Score: 2

      If I take BSD licensed code and incorporate it into my commercial product, and don't release the source, it is NOT stealing. It is totally within the requirements of the license. The BSD folk want (and this is what the GPL peeps DON'T get) ANY project to have a library of well tested, standards compliant code available for use as the project author sees fit. We DON'T want to force people to reinvent the wheel to circumvent licensing restrictions if they decide they want to build a closed source project (for whatever reason).

      Closed source software will always exist - because there are jobs that need to be done that are not fun, require secrecy or whatever. I/BSD project people would MUCH rather that closed source application developers spend their time writing code that doesn't already exist, rather than spending development time and money to write/debug and maintain new code to solve a problem that has already been solved.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    71. Re:Grin by Paul+Jakma · · Score: 1

      It's not in the GPL. Again, the copyright holder isn't bound by the GPL. The copyright holder, by definition in law, is or are the person(s) holding the right to dictate the terms by which _others_ may copy the work.

      If the the copyright holders say that half the code is available GPL, and the other half isn't, and that that's fine, then that's fine. (They need to word it a bit better than that if they want others to actually be able to distribute under the GPL, in particular they need to state they're granting an exception to the GPL so that others may distribute the GPL half of their software while making use of their proprietary half, but they're the copyright holders, they can do this).

      The only time a copyright holder would be constrained is if there were multiple copyright holders and they didn't all agree. However, when the copyright holders agree, they can pretty much do what they want.

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    72. Re:Grin by Zenin · · Score: 1

      Both the GPL and BSD license thoroughly prevent anyone from ever "stealing" your code. The difference is not what can happen to your code, but rather what can happen to someone elses code.

      BSD doesn't try to dictate what other people do with their work. Whereas the entire reason for the GPL's existence is to limit the freedoms other people have over their own work.

      The biggest misconception GPL advocates have is that the GPL exists to protect software creators. In fact nothing could be farther from the truth. The GPL is entirely constructed to maximize the power of the end users, not the creators.

      --
      My /. uid is better then your /. uid
  3. What's the clear advantage of LLVM? by Anonymous Coward · · Score: 1

    I know of LLVM, but haven't used it, and it really seems like very few hardcore Linux/OSS devs have a clue about it. Is there really a clear advantage, or is it just an excuse to write a new compiler to solve a problem that doesn't exist?

    For now, I'm quite happy with GCC, but could be convinced otherwise with a compelling argument.

    1. Re:What's the clear advantage of LLVM? by Poeli · · Score: 5, Informative

      The reason FreeBSD switches to clang/LLVM is the license: BSD instead of GPLv3.

      You should give clang a try. The LLVM has a much cleaner api then gcc and the error message's are also more readeable. In terms of speed, the difference is shrinking with each release.

    2. Re:What's the clear advantage of LLVM? by alexgieg · · Score: 4, Informative

      I know of LLVM, but haven't used it, and it really seems like very few hardcore Linux/OSS devs have a clue about it. Is there really a clear advantage, or is it just an excuse to write a new compiler to solve a problem that doesn't exist?

      The actual reason, from what I remember, is licensing. They want to build a fully BSD-licensed OS from the ground up, with zero dependence on GPL-licensed stuff.

      --
      Conservatism: (n.) love of the existing evils. Liberalism: (n.) desire to substitute new evils for the existing ones.
    3. Re:What's the clear advantage of LLVM? by sribe · · Score: 5, Interesting

      I know of LLVM, but haven't used it, and it really seems like very few hardcore Linux/OSS devs have a clue about it. Is there really a clear advantage, or is it just an excuse to write a new compiler to solve a problem that doesn't exist?

      Much better modularization, so that the tokenizer used by the compiler is easily available to other tools, so that your editor does not have to (try to) re-implement all the intricacies of C++ syntax, so that parse tree & symbolic info is available to your IDE, so that it does not have to try to re-implement parsing of all the intricacies of C++ templates & namespaces in order to give you cross-referencing or even re-factoring functions (not to mention support for a debugger that can actually figure out types in a complex inheritance hierarchy).

    4. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 1, Interesting

      That would be bad for us. Clang is in the order of 10 times faster than GCC (compilation speed) and the generated binary is 1% faster than GCC (so essentially the same but saves hours of compile-time per day on 50MB+ C-files).

    5. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 0

      > Clang is in the order of 10 times faster than GCC (compilation speed)

      Not on C++. It's faster, but clearly not by an order of magniture.

    6. Re:What's the clear advantage of LLVM? by UnknownSoldier · · Score: 0

      If your compiles are taking more then a few minutes you are doing it wrong.

      You DO know about Bulk / Unity builds right?
      http://buffered.io/posts/the-magic-of-unity-builds

      Of course there is no magic silver bullet but if you haven't given them a go, try it.

      Another option is to switch from hard drives to SSDs since that handles the bottleneck at its source: time spent seeking to a track.

      YMMV

      Oblg.
      http://xkcd.com/303/

    7. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 1

      That 1% is case specific. On the benchmarks it is about 10% slower in some specific cases. So bench it first. It is getting better but not across the board...

      Also there are non significant amounts of software currently that llvm can not compile. The linux kernel being one of them. This is being fixed, but 'not quite there yet'.

    8. Re:What's the clear advantage of LLVM? by Gerald · · Score: 2

      It has a pretty good static analyzer.

    9. Re:What's the clear advantage of LLVM? by StripedCow · · Score: 1

      But the tokenizer and parser for an IDE have to work incrementally (parsing as you type), making them wholly different beasts.

      --
      If Pandora's box is destined to be opened, *I* want to be the one to open it.
    10. Re:What's the clear advantage of LLVM? by staalmannen · · Score: 1

      You should definitely try compiling something with LLVM/Clang sometime. The error messages that you get are quite nice and stuff normally compiles much faster compared to similar optimization level with GCC. For a source-based distribution like FreeBSD or Gentoo that might be a nice boon. Some developers (the Chromium ones if I am not mistaken) have switched to LLVM/Clang for their development, but they still ship the final binaries built with GCC.

    11. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 0

      So, build the incremental one and use that in your compiler. What's the big deal?

      dom

    12. Re:What's the clear advantage of LLVM? by Brian+Feldman · · Score: 1

      I don't believe that you can make a claim like that if you do not have experience in the incremental parser code of an IDE.

      --
      Brian Fundakowski Feldman
    13. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 0

      Well, there is the licensing argument, but I won't touch that.

      LLVM is superior because it has an ultra-modern optimizer. It simply produces better code. This is its advantage - and also its disadvantage. To achieve these aims, it is painfully strict about "undefined behaviour" in ANSI C. A lot of things that you probably think are fine, are actually "undefined" in ANSI C, and LLVM will do whatever the hell it pleases in those areas. So, taking LLVM can be a bit of a PITA.

    14. Re:What's the clear advantage of LLVM? by KiloByte · · Score: 2, Informative

      Clang is in the order of 10 times faster than GCC (compilation speed) and the generated binary is 1% faster than GCC (so essentially the same but saves hours of compile-time per day on 50MB+ C-files).

      Bullshit. It's compilation is at most 1/3 faster, and on most cases I checked, the result executes between 5-25% slower. The former seems to be pretty constant everywhere, the latter strongly depends on the code base in question, with huge outliers both ways.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    15. Re:What's the clear advantage of LLVM? by gnasher719 · · Score: 1

      But the tokenizer and parser for an IDE have to work incrementally (parsing as you type), making them wholly different beasts.

      No need to work incrementally, as long as you just work _fast_. That's what you have fast processors for, to recompile after every keystroke.

    16. Re:What's the clear advantage of LLVM? by fnj · · Score: 5, Informative

      I don't see anybody addressing this question adequately. Here goes for a start.

      1) g++ has simply awful error messages for template code. clang++ has MUCH more helpful error messages. Of not quite so much importance, all clang/clang++ error messages are significantly better than those of gcc/g++. Looks like clang++ has spurred g++ to improve error messages in 4.8 though. They NEEDED to be improved.

      2) clang++ 3.1 has significantly better C++11 support than g++ 4.7:
            Rvalue refs for *this
            Alignment support
            Strong compare-exchange
            Bidirectional fences
            Atomics in signal handlers
            Also borrows from C99 one very significant enhancement: C99 designated initializers

      References:
      clang: Expressive Diagnostics
      C++0x/C++11 Support in GCC
      C++98 and C++11 Support in Clang

    17. Re:What's the clear advantage of LLVM? by evilviper · · Score: 2

      They want to build a fully BSD-licensed OS from the ground up, with zero dependence on GPL-licensed stuff.

      Not really true. Everyone was pretty comfortable living along-side GPLv2-licensed software for many, many years. But NOT the new GPLv3. Organizations all over the place are running away, screaming, from anything using that extra-restrictive and incompatible license. The FSF, developing the GPLv3 license, has done more to promote BSD/MITX licensed software than anyone else could have ever hoped to.

      Some companies just keep their older, GPLv2 licensed software as long as they can, but in compilers in particular, age and lack of development is a liability, so they eventually have to go out and look for more liberally licensed projects that will make a reasonable replacement. Hence LLVM has seen a flood of development effort.

      Secondly, with the change from gcc-2.x to gcc-3.x and now 4.x, compile times have climbed significantly, in favor of optimization. Even if you turn off all the options you can, you're talking about a substantially longer build time. Not an issue for your final compile for public consumption, but during development, where folks want to quickly compile an test, it's a real nuisance, which numerous develops have been complaining about.

      Apple, FreeBSD and many others went for LLVM. OpenBSD went for PCC instead.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    18. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 0

      Uhh that can't be fixed. The Linux Kernel depends on -fno-remove-null-pointer-checks, but the LLVM team won't implement.

    19. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 0

      But the tokenizer and parser for an IDE have to work incrementally (parsing as you type), making them wholly different beasts.

      No it doesn't. A compiler parses one token at a time incrementally as well.

    20. Re:What's the clear advantage of LLVM? by Tough+Love · · Score: 2

      The main advantage of LLVM is that it will provide much needed competition for GCC which for the last decade has only had VCC to spur it on. Note that LLVM code can be freely transplanted into GCC while the reverse is not allowed, probably enough in itself to ensure GCC's continued preeminence even with Apple's fat checkbook backing LLVM.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    21. Re:What's the clear advantage of LLVM? by steveha · · Score: 2

      on most cases I checked, the result [with Clang] executes between 5-25% slower.

      I recompiled a large audio processing code base in Clang and the result was about a 2-3% speedup, with no problems. I immediately switched to using Clang for all release builds. (I still use GCC for debug builds.)

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    22. Re:What's the clear advantage of LLVM? by Rockoon · · Score: 2

      Another option is to switch from hard drives to SSDs since that handles the bottleneck at its source: time spent seeking to a track.

      This guy clearly has no idea what he is talking about.

      --
      "His name was James Damore."
    23. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 0

      Actually - PCC was removed from OpenBSD in about June - they are probably headed for clang/llvm as well.

    24. Re:What's the clear advantage of LLVM? by UnknownSoldier · · Score: 1

      > This guy clearly has no idea what he is talking about.

      http://en.wikipedia.org/wiki/Hard_disk_drive_performance_characteristics#Seek_time

      Hard Drives: In HDDs this is typically between 0.2 and 0.8 ms
      Typical SSDs will have a seek time between 0.08 and 0.16 ms.

      Clearly I have no clue what I'm talking about where SSDs are up to 10 times faster then hard drives.

    25. Re:What's the clear advantage of LLVM? by bluefoxlucid · · Score: 1

      Possibly that it's slow as shit. There are a lot of single and multi string functions to test things. An incremental parser would be better closer to brute force or maybe read and partial hash, something that does a lot of work pretty much but it's quick work. It may be 40 times slower than a reverse, indexed search like Boyer-moore, but it's still like 20 microseconds so who gives a shit?

      Then again, 40 times slower when performing a bulk job means a 5 minute job is a 3 hour 20 minute job. Works for clicky-clicky-clicky on the keyboard where you can tap 10 or 12 keys per second, not so great when you're bulk processing and expected to do this thousands of times per second and can only do it hundreds.

    26. Re:What's the clear advantage of LLVM? by bluefoxlucid · · Score: 1

      so like uint8_t a = 255 + 1 could do something really fucking strange, I should be using uint8_t a = (255 + 1) % 256 and it'll optimize out the % because it knows about overflow in my CPU and I basically told it I want that kind of thing to happen?

    27. Re:What's the clear advantage of LLVM? by gnasher719 · · Score: 0

      The main advantage of LLVM is that it will provide much needed competition for GCC which for the last decade has only had VCC to spur it on. Note that LLVM code can be freely transplanted into GCC while the reverse is not allowed, probably enough in itself to ensure GCC's continued preeminence even with Apple's fat checkbook backing LLVM.

      So gcc is to Samsung as LLVM is to Apple? One creates, one copies?

    28. Re:What's the clear advantage of LLVM? by pjr.cc · · Score: 1

      Its not necessarily about an advantage of either really.. clang/llvm is really more about modularity and focusing on a more flexible toolchain.

      As an example, if you want to compile from c-> binary in linux, theres quite a command path depth to it (i.e. multiple processes take place in serial to eventually produce a binary). The problem with gcc is that the code has become messy and its modular approach doesnt really help when it comes to adding a new language or a new target (i.e. F# perhaps, or ARM as a target). It also carries alot of legacy cruft with it that has been there since the dawn of time.

      Ultimately when you do want to add a new language or target, you almost end up re-writing the entire gcc stack which is quite painful.

      clang/llvm is really about getting rid of that pain with a more modular approach so if you want to add a language or a target, you just focus on your goal not the entire toolchain. As a Plus, its also gotten rid of some of the antique cruft which is at least part of the reason its often faster. IMHO - its faster in some situations, but not all.

      None of this really matters much to the end user (except perhaps the speed bit)... What does matter (and what you will care about) is as clang/llvm matures you'll find developers more likely to target clang/llvm for compiler toolchains with new languages or targets.

      The other thing you might care about as well is that its better with errors, they are alot clearer and more useful and for that see http://clang.llvm.org/diagnostics.html however, that only extends to clang really.

    29. Re:What's the clear advantage of LLVM? by beelsebob · · Score: 1

      I don't believe that you can make a claim like that if you've not used Xcode, which syntax highlights, compiles, and on-the-fly checks, all with the same parser (clang's).

    30. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 0

      As far as I'm aware, overflow with unsigned is not undefined in C. uint8_t a = 255 + 1 is 0, and not undefined behaviour. With signed integers overflow is undefined. A compiler is allowed to optimize something like
      (x + 1) > x
      to 1 (when x is signed), because it can ignore the undefined case of x+1 overflowing.

      In your second example
      uint8_t a = (255 + 1) % 256
      the compiler might complain that you're trying to put an integer in a uint8_t without a cast (with or without the cast, the result is 0).

    31. Re:What's the clear advantage of LLVM? by aristotle-dude · · Score: 1

      I know of LLVM, but haven't used it, and it really seems like very few hardcore Linux/OSS devs have a clue about it. Is there really a clear advantage, or is it just an excuse to write a new compiler to solve a problem that doesn't exist?

      For now, I'm quite happy with GCC, but could be convinced otherwise with a compelling argument.

      The clear advantage is illustrated by fast turtle. Here http://bsd.slashdot.org/comments.pl?sid=3237175&cid=41911001 where you can validate that a binary was created with a specific set of code using the MD5 sum of your binary against the master MD5 or to validate that a third party distributor is releasing the same binary as the official one. You cannot do that with GCC.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    32. Re:What's the clear advantage of LLVM? by willy_me · · Score: 1

      It you are working on source code, chances are it will be cached in memory when you go to compile. The seek times don't have much of an impact assuming your OS does a good job at caching. Now I'm not saying that SSDs aren't great, just that the impact of disk access speed is not as pronounced as you make it sound - at least when compiling the same code multiple times. But when it comes to boot speed, or the time required to compile code that isn't cached, SSDs are amazing.

    33. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 0

      I believe he was referring to your belief that drive seek times are the bottle neck when compiling.
      That might be the case during the first compile or when using a Mickey Mouse OS like Windows, but the automatic caching in Linux leaves your source files in RAM after the first compile (as long as you've got enough memory).
      A dedicated RAM drive would smoke an SSD BTW if seeks times are really holding you back.

    34. Re:What's the clear advantage of LLVM? by shutdown+-p+now · · Score: 1

      Out of curiosity, how good is Xcode syntax highlighting and code completion on C++? Can it handle arbitrarily complex templates?

    35. Re:What's the clear advantage of LLVM? by shutdown+-p+now · · Score: 2

      Incremental parsing means that you don't re-lex/re-parse the entire text stream from the beginning every time a character or two get inserted because of user typing something. Which means that you have to have a lexerthat's smart enough to correct just the few affected tokens, and then a parser that looks at those changed tokens and updates only the affected part of the AST. Which, generally speaking, is not at all a trivial thing, especially for a language as complicated as C++ (where a single token change on one line can result in a variable declaration becoming an expression on a line in a different file).

    36. Re:What's the clear advantage of LLVM? by Rockoon · · Score: 1

      Clearly I have no clue what I'm talking about where SSDs are up to 10 times faster then hard drives.

      You have no clue what you are talking about because you are claiming that seek times are a significant portion of compile time. I could have called you completely retarded and still got modded up, because you really are completely retarded.

      --
      "His name was James Damore."
    37. Re:What's the clear advantage of LLVM? by Anonymous Coward · · Score: 0

      Now you look even more stupid because you think that HDD seek times are under 1ms.

    38. Re:What's the clear advantage of LLVM? by Tough+Love · · Score: 1

      The main advantage of LLVM is that it will provide much needed competition for GCC which for the last decade has only had VCC to spur it on. Note that LLVM code can be freely transplanted into GCC while the reverse is not allowed, probably enough in itself to ensure GCC's continued preeminence even with Apple's fat checkbook backing LLVM.

      So gcc is to Samsung as LLVM is to Apple? One creates, one copies?

      They both create and they both copy, it's called "open source" and that is the way it is supposed to work. Your simile is horrible. Being able to literally copy BSD licensed code into a GPL program is exactly what the BSD guys want, or they would have used the GPL license. Going the other way is exactly what the GPL guys don't want, and you won't hear BSD guys whining about that. Bear in mind that in many cases, it's the same guys, it's not a big war as you seem to hope.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    39. Re:What's the clear advantage of LLVM? by UnknownSoldier · · Score: 1

      The times quoted were: "The other two less commonly referenced seek measurements are track-to-track and full stroke. The track-to-track measurement is the time required to move from one track to an adjacent track. This is the shortest (fastest) possible seek time. In HDDs this is typically between 0.2 and 0.8 ms."

      Reading. You might want to try it sometime.

    40. Re:What's the clear advantage of LLVM? by UnknownSoldier · · Score: 1

      > I believe he was referring to your belief that drive seek times are the bottle neck when compiling.
      Uh, you might actually want to try _benchmarking_ compile times on a large project sometime. I've worked with enough PS3 developers that switched over to using a Bulk / Build system where their compile times went from 45+ mins to 5+ mins to know that seek time + random read times are FAR slower then one seek + one sequential read. Since the _same_ amount of data is being read in both cases, that leaves seek time as the majority of the bottleneck ON THE SAME SYSTEM.

      > using a Mickey Mouse OS like Windows, but the automatic caching in Linux leaves your source files in RAM after the first compile (as long as you've got enough memory).
      Agreed that using a better designed OS helps alleviates the weakness of slow hard drives, but sadly the majority of developers are on Windows. :-(

      > A dedicated RAM drive would smoke an SSD BTW if seeks times are really holding you back.
      Of course it would. That is essentially just a memcpy() (in the best case.) :-)

      That is why I originally wrote "Of course there is no magic silver bullet but if you haven't given them a go, try it." and "YMMV."

      The other option is to try a distributed build system; one popular software is IncrediBuild and I've seen enough developers again significantly reduce their compile time when a Bulk / Unity build wasn't feasible.

      But what do I know; it is far easier to criticize someone and provide no alternatives such as I just did above.

    41. Re:What's the clear advantage of LLVM? by cheesybagel · · Score: 1

      LLVM is more like a JIT engine than a compiler. Clang is the C/C++ compiler frontend that uses LLVM as the backend to generate an executable.

    42. Re:What's the clear advantage of LLVM? by cheesybagel · · Score: 1

      Clang provides lower performance binaries than GCC for my code and other pieces of code I have benchmarked. Sure Clang compiles fast on the equivalent of -O0 and has ANSI colored error messages but that isn't the only criteria I have for a compiler.

    43. Re:What's the clear advantage of LLVM? by cheesybagel · · Score: 1

      CCache helps when compiling large source trees.

  4. Why switch at all? by Anonymous Coward · · Score: 0

    Never really understood the motivation for switching away from GCC. Please enlighten me.

    1. Re:Why switch at all? by Anonymous Coward · · Score: 1, Informative

      Never really understood the motivation for switching away from GCC. Please enlighten me.

      being bsd people, they don't like the gpl.

    2. Re:Why switch at all? by Anonymous Coward · · Score: 1

      Clang have a really nice error/warning output, so it's easier to debug your code (try to install clang on your distribution and compile some programs, its really pretty and useful).

      But the motivation to switch on FreeBSD is mainly another one: LLVM is licensed on BSD license, while GCC uses GPLv3. Since FreeBSD uses BSD too, the use of LLVM make it easier to bundle compiler binaries with the distribution.

    3. Re:Why switch at all? by Anonymous Coward · · Score: 0

      Nothing has stunted the computer/software industries more than the introduction of the 8086 and the GPL.

    4. Re:Why switch at all? by Cinder6 · · Score: 5, Informative

      Could check this article: http://clang.llvm.org/comparison.html

      Apple made the switch a while back in Xcode. The end result was much better debugging and refactoring capabilities.

      --
      If you can't convince them, convict them.
    5. Re:Why switch at all? by tuppe666 · · Score: 1

      Nothing has stunted the computer/software industries more than the introduction of the 8086 and the GPL.

      Having lived with the the safe Duopoly of Microsoft/Apple [Years of IE6 was only part of the problem] dominate everything absolutely for so long. Other than providing a viable competitor, where commercial companies have failed to compete, and are swallowed up by these larger companies as the bundle all the profitable software I fail to see their relevance. The only effective competitor seems to have been GPL for obvious reason [its almost immune...although buying off key people and handing out free hardware doesn't hurt ;)], some may argue BSD...which is a nobler licence, but its kind of ironic in this thread, having seen how Apple's adoption of BSD as a one way suck has affected the BSD distributions. In reality New Apple has admittedly been worse taking advantage of the Patent system [the new threat to computing], and its closed garden, dirty back-room deals with content suppliers...And Ballmer is creating A New Microsoft in its image whatever you thing of that. I won't mention Google...which is leading computing which has a whole lot of issues associated with it [or Facebook, Amazon etc etc]

      Lets face it GPL only is...was!? a threat to the safe Duopoly; the thing that has stunted the industry as they always do, but the reality is it wasn't enough of one.

    6. Re:Why switch at all? by lister+king+of+smeg · · Score: 1

      Odd how the most used *nix is GPLed -Linux
      odd how veteran companies from the unix war (oracle, ibm, hp,) are pushing the use of LInux and other GPLed software.

      maybe they figured out that sharing is best but if that were it they could have simply shared and setteled on a BSD. Or they realize that working where there competitor can't simply fork and close at will is best for everyone involved thus settling on a GPL licensed stack

      --
      ---Saying gnome 3 is better than windows 8 not so much a compliment as it is damning with light praise.
    7. Re:Why switch at all? by Anonymous Coward · · Score: 0

      0. Using a BSD-licensed compiler for FreeBSD is a no brainer is it not?
      1. It compiles shit way faster.
      2. It has much better error messages.
      3. Its source code does not look like the inside of a particle collider after a beam aiming accident, unlike the gcc source code.
      4. It is designed in a modular way as a collection of APIs instead of a monolithic black box.

    8. Re:Why switch at all? by Anonymous Coward · · Score: 0

      Says the person who has never written a line of real code in their life, and does not know how microprocessors work.

    9. Re:Why switch at all? by KingMotley · · Score: 1

      Odd how the most used *nix is GPLed -Linux

      You'd need a reference for that. I would submit that BSD code is more prevalent than GPL in actual use by an order of magnitude or better.

      Every copy of windows has BSD code in it (No, not the tcp/ip stack). But libraries to do things like zipping files, displaying GIFs, etc etc. Mac OS and iOS is based on BSD as well. Even linux has BSD code in it. So does the PS3, Xbox 360, and FreeNAS.

    10. Re:Why switch at all? by chinakow · · Score: 1

      Odd how IE was(is? [I don't follow browsers closely]) the dominate browser on the web for years and years. Just because something is popular, doesn't mean it is good. See also, PHP. People bitch constantly about it, and then go and write PHP code.

    11. Re:Why switch at all? by FranTaylor · · Score: 1

      I would submit that BSD code is more prevalent than GPL in actual use by an order of magnitude or better.

      How many android devices are out there with their GPL linux kernels? An order of magnitude more than the BSD-based Apple ones.

    12. Re:Why switch at all? by beelsebob · · Score: 2

      Sure.

      1) Clang(++) produces better error messages. This is a mere nicity when dealing with C code, but it's an absolute requirement when dealing with template based C++.
      2) Clang has a much more comprehensive set of warnings that get into static analysis of your code than gcc.
      3) Clang is modular, and can be used to develop other tools using the same parser/type checker/...
      3.1) Because of this, it's been used to develop a static analyser that can be seperately invoked (because it runs substantially slower than the compiler alone) which comes up with even more nice warnings.
      3.2) Same again, but for a dynamic analyser which is in development, and does what valgrind does, and more, but without the 20 times slowdown, and with more accuracy.
      4) Clang is not specifically designed with stopping it being useful to other developers in mind (RMS has very explicitly stated that one of the design goals of gcc is to make it hard to take apart and use different bits to do useful things in other tools).
      5) Clang, when invoked with -O0, runs faster than gcc, for C code, 5-10 times the speed, for C++ code 1-2 times, and produces similarly optimal code to gcc -O0.
      6) Clang, when invoked with -O3 or -Os produces faster code than gcc (though not by much).
      7) Clang's license is more friendly than gcc's

      Basically, clang is all round better than gcc.

    13. Re:Why switch at all? by Anonymous Coward · · Score: 0

      How much of the code in Android is BSD licenced? Hint, the kernel doesn't make Android.

    14. Re:Why switch at all? by KingMotley · · Score: 1

      You really think that androids outsell iOS devices 10 to 1?

    15. Re:Why switch at all? by KingMotley · · Score: 1

      The latest numbers I could find (from google): 500M androids have been activated up until Sept 2012. 435M iOS devices sold up until Sept 2012 + 122M Macs (some weren't BSD based) + (approx) 350M iPods.

      Also remember that every single one of those 500M androids are running some BSD code as well.

    16. Re:Why switch at all? by cheesybagel · · Score: 1

      Clang also produces lower performing binaries than GCC but try to find that on their comparison page...

  5. Re:WOW by Anonymous Coward · · Score: 1

    Most likely the BSD maintainers and developers out there.... bout thats less then 0.00001% of 7+billion people. I'm going to guess anywhere between 1-1000 =)

  6. Not GPL, and suitable for JIT by tepples · · Score: 4, Informative

    For one thing, LLVM isn't copylefted, making it available for use as part of non-free software. (There are some major categories of software that for economic reasons cannot be released as free software; I can explain in more detail if you wish.) For another, it's designed to allow just-in-time compilation of bytecode, such as what might be seen in a Flash, Java, .NET, or JavaScript VM, in addition to standard ahead-of-time compilation of source code into native code.

    1. Re:Not GPL, and suitable for JIT by X0563511 · · Score: 2

      So, written a bit more flexibly, and licensed a bit more flexibly :)

      Nothing wrong with having a "competitor" (it isn't, but anyway you get what I am saying) from either perspective. Gives both a reason to strive to improve.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    2. Re:Not GPL, and suitable for JIT by Millennium · · Score: 1

      Could you elaborate on the "economic reasons" certain categories cannot be released as free software?

      Also, LLVM isn't actually designed for JIT: some people have managed to make it work, but not without problems. GCC isn't designed for JIT either, of course; it's outside the problem space of both.

    3. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 1

      Yes please explain the economic reasons why "some major categories of software ... cannot be released as free software"

      Anyone that sells C/C++ code analysis software as a business?

    4. Re:Not GPL, and suitable for JIT by lindi · · Score: 1

      At least for me "lli" works much more reliably than "lli -force-interpreter" (that disables the JIT).

    5. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      "Why do the FreeBSD people care about people who don't want to make Free Software?"

      That made me laugh. If you know anything at all about BSD, you'd know that the BSD community cares deeply for people who want to make non-free software. That's kind of the entire point.

    6. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 1

      Firstly, FreeBSD cares about it's permissive license, as such, no GPLv3 software in the base system.

      FreeBSD gets a lot of its support and user base from the fact that is can be used to drive the creation of commercial products. The goal of the FreeBSD project is to make good, free software,not to force anyone else to also make free software.

    7. Re:Not GPL, and suitable for JIT by jedidiah · · Score: 1

      > There are some major categories of software that for economic reasons cannot be released as free software

      Yet despite of this the world has survived for a rather long time using a Copyleft compiler without the heads of any Robber Barons exploding.

      It's kind of on par with GNU finally using it's own kernel after 20 or so years instead of using the Linux kernel. It's interesting but far less significant than some might want to assert. We managed to get along quite well without it.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    8. Re:Not GPL, and suitable for JIT by pmontra · · Score: 3, Insightful

      These are not exactly the terms of GPL and BSD but:

      GPL is for people and companies that think "I wrote this software [together with X, Y and Z] and if somebody else makes it better they must share it with all the world, as I did."

      BSD is for people and companies that think "I wrote this software [together with X, Y and Z] and I accept the loss that somebody else makes it better and keep it for themselves because I want to have the option of getting somebody's else software, make it better and keep it for me without sharing it back."

      I think we can argue forever on the ethic merits of the two approaches (I feel in the GPL camp). Anyway both GPL and BSD make economic sense and we won't be talking about them if they didn't, one or both would be dead long time ago. If a company wants to include some big secret in its code, it must go BSD and occasionally regrets it can't use some GPL code and rant about it. Sometimes the GPL people rant about not being able to include BSD code in their projects.

    9. Re:Not GPL, and suitable for JIT by TheRaven64 · · Score: 4, Informative

      For example, we wouldn't have an Objective C compiler if NeXT hadn't been forced to release it in order to comply with the GPL.

      Speaking as the person who wrote and maintains the GNUstep libobjc and the clang support for it: Bullshit. The GPL forced NeXT to open source half of the implementation (the compiler support, not the runtime), and their implementation was such a pile of crap that it set back GCC's support for a long time. Open source support for Objective-C in clang is so much better than in GCC that it's not even worth comparing the two.

      --
      I am TheRaven on Soylent News
    10. Re:Not GPL, and suitable for JIT by TheMMaster · · Score: 3, Insightful

      Actually it is much simpler than that;

      GPL is designed to protect users' interests
      BSD is designed to protect developers' interests

      --
      Fighting for peace is like fucking for virginity
    11. Re:Not GPL, and suitable for JIT by gnasher719 · · Score: 1

      Also, LLVM isn't actually designed for JIT: some people have managed to make it work, but not without problems. GCC isn't designed for JIT either, of course; it's outside the problem space of both.

      WTF? Apple's first use of LLVM was as a JIT for OpenGL. When compiling OpenGL to code for various graphics cards became a maintenance nightmare, they used LLVM: OpenGL compiles to the internal representation of LLVM, same code for all graphics cards, and LLVM compiles to code for the graphics card, all at runtime.

    12. Re:Not GPL, and suitable for JIT by MMC+Monster · · Score: 1

      Who would put a compiler as part of their software (either FOSS or otherwise)? Unless, of course, your software is another compiler...

      --
      Help! I'm a slashdot refugee.
    13. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      BSD is for people and companies that think "I wrote this software [together with X, Y and Z] and I accept the loss that somebody else makes it better and keep it for themselves

      That's not a loss. If someone writes new code, you don't lose anything. You always retain the BSD code. You've just extended the base of people using BSD code, and may well get future contributions back from them. Possibly just a small part of everything they've ever done, but you don't lose anything, so stop with that FUD.

      Plus there is the benefit of more people using the same stable code. Example: MS using the BSD TCP/IP stack in earlier versions of Windows. MS didn't give back changes as far as I know, but all the BSD folks I know were real happy to have a massive amount of new boxes appear on the net that were all using known stable code that would play well with others, rather than some rushed together mess that might have broken things on the net.

    14. Re:Not GPL, and suitable for JIT by Millennium · · Score: 1

      Apple actually had to stretch some definitions on that project. The actual technique they used is more akin to what the original JVMs did: ahead-of-time compilation that happens to be just before the code is run, but ahead-of-time nonetheless. JIT implies something different, and it's not really in LLVM's problem space.

    15. Re:Not GPL, and suitable for JIT by SolitaryMan · · Score: 0

      ... the communistic GPL simply stands in the way of it incorporating the best ideas to improve the *closed* model of development even further.

      Please explain how the hell it restricts you from implementing the same ideas in-house? Oh, wait, you mean, you don't really want to pay for it? Miss slavery much?

      The only reason the GPL exists is because some people think that software developers should not have the right to profit from their own work, and this is morally wrong.

      This is just complete fucking bullshit.

      --
      May Peace Prevail On Earth
    16. Re:Not GPL, and suitable for JIT by snadrus · · Score: 1

      By what reasoning? I would have labelled this oppositely:
      - With BSD, a good networking stack made it into (earlier versions of) Windows thereby helping user choice.
      - With GPL, services companies are the norm which encourage convoluted software that's hard on users.

      --
      Science & open-source build trust from peer review. Learn systems you can trust.
    17. Re:Not GPL, and suitable for JIT by SolitaryMan · · Score: 1

      GPL is designed to protect users' interests

      Exactly! (Freedom to tinker)

      BSD is designed to protect developers' interests

      This really depends on developer's interest. When releasing the software, developer has way more freedom to choose the software licence, then the user, who buys the software. Therefore, I'd argue that user's freedoms are in more need of a protection.

      --
      May Peace Prevail On Earth
    18. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      Actually it is much simpler than that;

      GPL is designed to protect users' interests
      BSD is designed to protect developers' interests

      Personally, I think you have that backwards. If somebody makes my GPL program better, they have to show me how they did. If somebody makes my BSD program better, I have to figure out my next improvement on my own.

    19. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      BSD is for people and companies that think "I wrote this software [together with X, Y and Z] and I accept the loss that somebody else makes it better and keep it for themselves because I want to have the option of getting somebody's else software, make it better and keep it for me without sharing it back."

      I think you're missing a part here. If I one-up somebody's BSD program and keep the improvements private, they can just go back to the bench and do the same thing -- leaving me wondering how they did it.

    20. Re:Not GPL, and suitable for JIT by thoth · · Score: 1

      How about this: imagine a text editor released under both GPL and BSD.

      Developer A takes the GPL version, extends it, makes it nicer, etc. but the new file format isn't fully compatible with the original.
      Developer B takes the BSD version, extends it, makes it nicer, etc. but the new file format isn't fully compatible with the original.

      Which version is the USER better off with, if they need to extract their data in a format they can take somewhere else? The one where the source code changes are available, or the one where they aren't?

    21. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      BSD is for people and companies that think "I wrote this software [together with X, Y and Z] and I accept the loss that somebody else makes it better and keep it for themselves because I want to have the option of getting somebody's else software, make it better and keep it for me without sharing it back."

      No, I don't think in those terms at all. That's completely wrong.

      The license isn't important to me; I just want the license not to get in the way for anyone wanting to use my code. I have never thought in terms of "I accept the loss". If someone uses my code it's a win for me, regardless of whether they give back any patches or not.

      Also, I never understood where GPL-folks got the idea that BSD implies "not giving back". I give back to BSD projects, and people have given me back code in my projects.

      Allow me hyperbole a little to illustrate why I prefer BSD..

      BSD: Giving back code because it's the right thing to do.
      GPL: Giving back code because of threats of legal action if one doesn't.

      Building something on the basic philosophy of "Be nice, or I'll beat the living crap out of you" never really appealed to me.

    22. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      IMHO, it's not exactly this.

      GPL is designed to protect the software's freedom (as in, "once free it will always be free").
      BSD is designed to protect the developers' and users' freedom (as in, "I can do whatever I want with it, as long as I keep a quite inocuous disclaimer").

    23. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      GPL -> User has access to source code so (in theory) has less risk of vendor lock-in.
      BSD -> Developers can create lockin

    24. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      BSD is for people and companies that think "I wrote this software [together with X, Y and Z] and I accept the loss that somebody else makes it better and keep it for themselves because I want to have the option of getting somebody's else software, make it better and keep it for me without sharing it back."

      I guess that means you don't think BSD is for Theo then.

    25. Re:Not GPL, and suitable for JIT by gomiam · · Score: 2
      There is a simpler explanation: BSD is about freedom of the code, GPL is about freedom of the user.

      Actually I think you can't have both kinds of freedom at the same time: the freedom to do whatever you want with the code (and its license) allows you to limit the freedom of your users to do the same. This can be considered a minor problem (as BSD does) or a major one (as GPL does).

    26. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      Err, yeah. The question was: why?

    27. Re:Not GPL, and suitable for JIT by gomiam · · Score: 1

      That's not a loss. If someone writes new code, you don't lose anything. You always retain the BSD code. You've just extended the base of people using BSD code, and may well get future contributions back from them.

      Yes, you have... as long the new code keeps being BSD.

    28. Re:Not GPL, and suitable for JIT by HiThere · · Score: 1

      I think we disagree about what is best. I've used OS X, and I prefer Linux. I'll admit I've never used Photoshop, but for my purposes the GIMP and Inkscape are quite good, and I've heard other people complaining about various aspects of Photoshop. (Yeah, I've heard them complaining about the GIMP, too.) And I'll admit I don't know about AutoCAD. Supposedly Intel makes the best compilers...if you never intend to compile on and for anything but and Intel chip. If you need the program to run on a competitors chips...expect intentional delays.

      Basically, I think you're wrong. And I also don't believe that there's an "absolute standard" of best for a software product. What's best depends on exactly what you're doing.

      P.S.: The ONLY aspect in which I've heard MSOffice is superior to OpenOffice or LibreOffice is support for MSBasic. Since I don't use that, I don't count this as a superiority. I do, however, often edit long documents, and MSOffice is reported to crash on those, destroying the original document. So from my perspective MSOffice is decidedly inferior. And that's without considering that it won't run on Linux (my chosen OS) anyway.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    29. Re:Not GPL, and suitable for JIT by kthreadd · · Score: 1

      Why wouldn't the user be able to get the changes for both programs?

    30. Re:Not GPL, and suitable for JIT by dgatwood · · Score: 1

      GPL is for people and companies that think "I wrote this software [together with X, Y and Z] and if somebody else makes it better they must share it with all the world, as I did."

      BSD is for people and companies that think "I wrote this software [together with X, Y and Z] and I accept the loss that somebody else makes it better and keep it for themselves because I want to have the option of getting somebody's else software, make it better and keep it for me without sharing it back."

      No, that's a fundamental mischaracterization.

      The GPL is for people and companies who think, "I wrote this software, and if anybody else wants to use it, they should have to give back not only any changes they make to this software, but also any software whose functionality depends on this software or portions of this software."

      The BSD license is for people and companies who think, "I wrote this software, and I'm willing to accept that some people may use it as part of a proprietary piece of software and may or may not give back changes, confident that most of them will want to give back their changes because doing so reduces their maintenance costs, and thus I will get patches from those proprietary companies whereas with the GPL, they would reimplement the wheel and I'll get nothing."

      Sometimes the GPL people rant about not being able to include BSD code in their projects.

      Unless it's the ancient four-clause BSD license or its predecessor (with no enumerated clauses), those GPL people are wrong. You can freely include BSD-licensed code in GPLed projects. Just not the other way around.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    31. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      Err, no. More like "don't try to steal my shit and I won't have to stop you".

    32. Re:Not GPL, and suitable for JIT by kthreadd · · Score: 2

      GPL -> User has access to source code so (in theory) has less risk of vendor lock-in. BSD -> Developers can create lockin

      Well, it depends. Here on my FreeBSD system I have the source code to the entire operating system under /usr/src, it is included with the installer and can be installed during installation. Companies like Apple can use it to improve their products, and sometimes they contribute back even if all their products aren't open. However that doesn't make /usr/src go away.

    33. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      If not for the developers, what is the point of open source?

    34. Re:Not GPL, and suitable for JIT by flimflammer · · Score: 0

      So basically, you haven't even used any of the software that's purported to be the "best" but since what you use is good enough for you, they're wrong?

      That's some shady logic, really, and I'm not even the biggest fan of Photoshop.

    35. Re:Not GPL, and suitable for JIT by flimflammer · · Score: 1

      So basically it's not different from what he wrote.

    36. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      Wow, YOU prefer Linux to OS X! That changes everything. NOT. Forget the fact that anyone who is anyone in technology *dumped* Linux and FreeBSD years ago and have been using OS X (including the vast majority of LLVM developers, I might add) ever since. Same thing goes for stuff like Autocad, Photoshop, etc. The best software in every category that matters is CLOSED SOURCE software and the BSD license is far more friendly to closed source developers (ie: REAL developers) than that GPL bullshit.

    37. Re:Not GPL, and suitable for JIT by pmontra · · Score: 1

      Probably it's only me that is wrong, thank you for pointing out my mistake. As for my oversimplifications, I knew I was leaving out something but I wanted to keep it short. Your interpretations are closer to the real licenses.

    38. Re:Not GPL, and suitable for JIT by aristotle-dude · · Score: 1

      How about this: imagine a text editor released under both GPL and BSD.

      Developer A takes the GPL version, extends it, makes it nicer, etc. but the new file format isn't fully compatible with the original. Developer B takes the BSD version, extends it, makes it nicer, etc. but the new file format isn't fully compatible with the original.

      Which version is the USER better off with, if they need to extract their data in a format they can take somewhere else? The one where the source code changes are available, or the one where they aren't?

      Neither? While a developer can be a user, not all users are developers. Availability of the code means squat to someone who does not know how to write code. That is the problem with the GNU people. They assume that everyone is an interested third party capable of understanding and modifying code.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    39. Re:Not GPL, and suitable for JIT by v1z · · Score: 1

      While a developer can be a user, not all users are developers. Availability of the code means squat to someone who does not know how to write code.

      That's ridiculous. If you have the code, you can *hire* someone to fix the thing, ten years after the original supplier went bankrupt or whatever.

      I need the plans for my house, even if I'm not licensed to fix the bathroom -- I need them in case I hire someone to do improvements here.

      Most every place I've been paid to work with software, the ones with budgetary responsibility have *not* been able to code themselves out of a wet paper bag. They've been readily able to get something fixed, if the source is available -- if needed by hiring someone to do it.

    40. Re:Not GPL, and suitable for JIT by aristotle-dude · · Score: 2

      While a developer can be a user, not all users are developers. Availability of the code means squat to someone who does not know how to write code.

      That's ridiculous. If you have the code, you can *hire* someone to fix the thing, ten years after the original supplier went bankrupt or whatever.

      I need the plans for my house, even if I'm not licensed to fix the bathroom -- I need them in case I hire someone to do improvements here.

      Most every place I've been paid to work with software, the ones with budgetary responsibility have *not* been able to code themselves out of a wet paper bag. They've been readily able to get something fixed, if the source is available -- if needed by hiring someone to do it.

      No, what you suggest is ridiculous. If the software is "free" to begin with, why would I want to spend a lot of money to hire something that nobody is going to bother to maintain? That would be throwing good money after bad. You are better off looking for an alternative and choosing a product in the first place that has adequate export facilities for your data should you decide to migrate to another system later.

      You appear to be ignorant of how much software development costs to suggest that someone "hire" a programmer to maintain an abandoned product.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    41. Re:Not GPL, and suitable for JIT by aristotle-dude · · Score: 2

      If not for the developers, what is the point of open source?

      If not for the users, what is the point of software? If you insist on treating users as if they were developers then you will quickly lose them and destroy the relevance of your software. Software without users is nothing.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    42. Re:Not GPL, and suitable for JIT by devent · · Score: 1

      For "economic reasons" it cannot be free software (open source you mean?) What a BS.
      The same goes for a dictatorship: for "economic reasons" we cannot allow you basic human rights.

      You live in a democracy with human and civil rights I assume? Why do you make apologies to restrict my freedom? I assume it's your "economic reasons" that you deny me my rights, meaning your wallet.

      There are no "economic reasons" to not make a software open source. I assume you know the difference between free (as in beer) and open source software and that you are free to charge whatever price you want, even for GPL software?
      See Redhat, they make enough money out of completely free software. Last time I checked their profits increased and they broke one record after another.

      --
      http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    43. Re:Not GPL, and suitable for JIT by icebraining · · Score: 1

      GPL doesn't force anyone to give back code, though. It's strictly a pay-it-forward system. "Help others as I've helped you".

      And expecting people to do the right thing is wonderful, but we're not just dealing with people, we're often dealing with corporations.

    44. Re:Not GPL, and suitable for JIT by Pav · · Score: 1

      What are you smoking? People develop inhouse code all the time... I've worked for two, no three organisations that have done this, and these weren't tech companies either. Closed ex-BSD software is useless in that context. You might enjoy playing "prisoners delema", but if people want my code it's GPLed.

    45. Re:Not GPL, and suitable for JIT by aristotle-dude · · Score: 1

      What are you smoking? People develop inhouse code all the time... I've worked for two, no three organisations that have done this, and these weren't tech companies either. Closed ex-BSD software is useless in that context. You might enjoy playing "prisoners delema", but if people want my code it's GPLed.

      I don't smoke and I have been working on inhouse development for over 13 years. Of course someone else's closed source code is useless to me if they will not license it to me but so is GPL'ed code because of its viral nature. While my employer might use software to sell it as a service, they might want to be able to sell a non-hosted version of the software without having to worry about distributing the source with it or contributing back to a community. Because of this, the only code that I would ever borrow would be public domain code or BSD licensed code.

      You are contradicting yourself. You speak of inhouse development and yet you think that BSD licensed code is bad when the opposite is true for inhouse development. BSD allows the company to resell their software without having to publish their entire codebase that was linked to the shared code.

      The GPL is not compatible with inhouse development for companies that sell software as a service because it can expose all of your trade secrets and business model to your competitors.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    46. Re:Not GPL, and suitable for JIT by HiThere · · Score: 1

      Well, I haven't used the programs I don't like in a long time. This is a surprise? (I have used Photoshop. Just not in a long time, so I don't consider myself qualified to comment on it as if I were a user. Others don't seem to have the same scruples.)

      And a part of my criterion for "a good program" is that it runs well on the system that I'm using. So for many of these I don't need to try them to know that it fails on at least some criteria. I also have criteria as to what terms I will accept in an EULA. If the software doesn't meet those, then I consider it unusably lousy software. Perhaps you don't care about legal requirements.

      Seriously, different people have different standards about what is good software. The ggp claimed that all FOSS software was inferior (as an absolute statement, with no consideration that other people might have other ranking styles). I was responding in, I believe, a quite moderate fashion to that piece of absolute bladerdash.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    47. Re:Not GPL, and suitable for JIT by smash · · Score: 1

      For fucks sake. The BSD license does not consider it to be "stealing". Using BSD in your closed source project is ENCOURAGED.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    48. Re:Not GPL, and suitable for JIT by Anonymous Coward · · Score: 0

      For fuck's sake, I was talking about GPL.

      "don't try to steal my shit and I won't have to stop you" is a far better analogy than "Be nice, or I'll beat the living crap out of you", for describing GPL enforcement.

  7. Is time for a big FreeBsd celebration by Anonymous Coward · · Score: 0, Funny

    The 10 users rejoice.

    1. Re:Is time for a big FreeBsd celebration by Provocateur · · Score: 1

      Actually, 9 of them did. One of them had to be the designated driver. He had a car, you know.

      --
      WARNING: Smartphones have side effects--most of them undocumented.
    2. Re:Is time for a big FreeBsd celebration by fostware · · Score: 1

      Thanks for the clarification.

      For a moment there I thought the AC was counting in binary

      --
      "We know what happens to people who stay in the middle of the road. They get run over." - Aneurin Bevan
    3. Re:Is time for a big FreeBsd celebration by smash · · Score: 1

      Netapp, Juniper and Apple have quite a few more than 10 users between them.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  8. excellent! by Anonymous Coward · · Score: 0

    OpenBSD should be next!

    1. Re:excellent! by staalmannen · · Score: 1

      If I remember correctly, OpenBSD was looking at PCC as alternative compiler. It would in a way fit their philosophy better considering that it is simpler/cleaner and pure C, so C++ does not have to become a systems dependency. In fact, PCC has also made some rather nice advances lately, like building a FreeBSD kernel, and there is always the challenge of building a Linux kernel with pcc (http://bsdfund.org/bundle/).

    2. Re:excellent! by unixisc · · Score: 1

      There is already a fork of OpenBSD called Bitrig, where making it w/ LLVM/Clang is one of the main objectives.

  9. I should know this, but... by mcgrew · · Score: 0

    Why did they change and what difference does it make to the programmer or user?

    RTFA? Are you kidding me?

    1. Re:I should know this, but... by Anonymous Coward · · Score: 0

      http://clang.llvm.org/comparison.html

    2. Re:I should know this, but... by Anonymous Coward · · Score: 0

      U mad, brah?

  10. Re:WOW by ByOhTek · · Score: 1

    and the FreeBSD users, we bring it to a bit larger number than that. Probably still only 10s of thousands...

    --
    Self proclaimed typo king, and inventor of the bear destroying coffee table (patent not pending).
  11. Don't knock it until you've tried it by Viol8 · · Score: 3, Interesting

    FreeBSD might not be anywhere near as popular as linux but its a damn good system, and whats more there arn't endless ever-so-slightly incompatable distributions of it. Ok, its never going to threaten Linux but its good to have a proper alternative free Unix system available that is actually interested in its end users and isn't just a pet project of the devs (unlike certain other BSDs I could mention).

    1. Re:Don't knock it until you've tried it by Anonymous Coward · · Score: 0

      OK I won't knock it if you stop spreading FUD about Linux.

      Any one of at least the top 5 Linux distros alone would be more popular than FreeBSD (Android, RHEL, SLES, Debian, Ubuntu).

      So if you're going to develop for a particular platform, and wanted to reach the most users in one port, you would certainly pick Linux over FreeBSD.

      Your FUD about distros is about as useful as me making up some shit about endless significantly-more-incompatible free BSD forks.

    2. Re:Don't knock it until you've tried it by Viol8 · · Score: 1

      "Your FUD about distros "

      FUD is it? Tell me why then virtually every distro needs its own specific package for certain software? Wouldn't be anything to do with them all having different library versions would it? No , couldn't possibly be that....

    3. Re:Don't knock it until you've tried it by Anonymous Coward · · Score: 0

      You had me up until the unnecessary dig.

    4. Re:Don't knock it until you've tried it by Anonymous Coward · · Score: 0

      You misunderstand. Re-read what I wrote.

      There are incompatibilities between distros of course, that is not FUD.

      The FUD is behaving as if FreeBSD is somehow better than {entire set of Linux distros}.

      The fact is that ANY SINGLE one of the popular Linux distros has more users than FreeBSD, so you can develop for that distro and not have incompatibilities, and still have more users than FreeBSD.

      When you say this:

      FreeBSD might not be anywhere near as popular as linux but its a damn good system, and whats more there arn't endless ever-so-slightly incompatable distributions of it.

      Then it is just like me saying

      Debian is a damn good system, and what's more there aren't endless very incompatible forks of it, like there are with the free BSDs.

    5. Re:Don't knock it until you've tried it by Viol8 · · Score: 1

      "The FUD is behaving as if FreeBSD is somehow better than {entire set of Linux distros}."

      I never said it was. Why don't you don't take your own advice and YOU try reading what *I* wrote.

      Since when does saying that FreeBSD is a good system mean that I'm having a pop at linux? And there ARE lots of slightly incompatable distributions of linux whether you like it or not. So I don't see what your issue is.

    6. Re:Don't knock it until you've tried it by Anonymous Coward · · Score: 0

      Don't try that smartass, clever, internet-arguing shit with me.

      "FreeBSD might not be anywhere near as popular as linux but its a damn good system, and whats more there arn't endless ever-so-slightly incompatable distributions of it."

      Of course you implied that FreeBSD is better than all the "lots of slightly incompatible distributions of Linux".

      Don't try to feign being offended that I'm misrepresenting you. I'm not. Don't try that shit on, nobody else is reading this anymore except you and me, and we both know full well what the deal is.

    7. Re:Don't knock it until you've tried it by Viol8 · · Score: 1

      "Don't try that smartass, clever, internet-arguing shit with me."

      I'm so sorry if you're incapable of coming up with a suitable response. I'll write it all in single syllable words in capitals just for you next time so you have a better chance.

      "Don't try to feign being offended that I'm misrepresenting you. I'm not. Don't try that shit on, nobody else is reading this anymore except you and me, and we both know full well what the deal is."

      Only in your mind sonny. All I implied was thats its better to have a single platform than lots of slightly different ones. Thats not the same as saying any one distribution is shit. Perhaps that concept is too complex for you to grok, but unfortunately it seems you're just another knee jerk fanboi who can't handle even the slightest debate about whatever it is that you've nailed your ego and self worth too. You're all the same type of psychotic nutjobs.

    8. Re:Don't knock it until you've tried it by Anonymous Coward · · Score: 0

      Wahhh waahhhh. You got called out on your bullcrap, and now you're having a cry about it. You don't deserve anything more than derision and insults, I don't know why you're expecting it.

      {Linux distro} is vastly more popular than all the free BSDs combined, and its a damn good system, and whats more there arn't endless majorly-incompatable variants of it.

      What do you think about those apples?

    9. Re:Don't knock it until you've tried it by Viol8 · · Score: 1

      "Wahhh waahhhh. You got called out on your bullcrap,"

      Oh dear, are we're really down to the teenage debating level already? Do yourself a favour and grow up. And I guess you can't read either since all you did was spout rubbish about what you thought I was implying.

      "{Linux distro} is vastly more popular than all the free BSDs combined, and its a damn good system,"

      Care to point out where I said otherwise? No, did't think so.

      "arn't endless majorly-incompatable variants of it."

      Distros tend to have incomtabilities with each other and even with previous version of the same distro. True or false? Its a simple answer, see if you can manage it though if you really want to come out with another juvenile attempt at diverting attention feel free. As you said, its only the 2 of us reading this now so you're not fooling anyone other than perhaps yourself.

    10. Re:Don't knock it until you've tried it by Anonymous Coward · · Score: 0

      I'll call you The Fudmeister from now on.

      FreeBSD tends to have incomtabilities with other BSDs and even with previous version of FreeBSD. True or false? Its a simple answer, see if you can manage it though if you really want to come out with another juvenile attempt at diverting attention feel free. As you said, its only the 2 of us reading this now so you're not fooling anyone other than perhaps yourself.

      What have you got to say about that, Fudmeister?

    11. Re:Don't knock it until you've tried it by Viol8 · · Score: 1

      "I'll call you The Fudmeister from now on."

      *guffaw* Did you think that up all by yourself or did your little sister help you?

      "FreeBSD tends to have incomtabilities with other BSDs and even with previous version of FreeBSD. True or false? "

      Answering a question with a question is the desperate last resort for the defeated. Thanks for playing.

  12. Genres of non-free software by tepples · · Score: 2

    Could you elaborate on the "economic reasons" certain categories cannot be released as free software?

    Certainly. I've started on this essay.

    1. Re:Genres of non-free software by emj · · Score: 1

      None of these, games, DRM crippled video players, tax software need to be proprietary. You even mention why: what would these software packages be without their WAD files, tax definition files and encryption keys.

  13. Having a strong competitor to GCC by stox · · Score: 4, Insightful

    will drive GCC to a far greater degree than without a competitor. This is good for all involved.

    --
    "To those who are overly cautious, everything is impossible. "
    1. Re:Having a strong competitor to GCC by arendjr · · Score: 1

      If both were proprietary software, I'd agree, but given they're open-source, I don't think so.

      GCC is an open-source project. How are they going to hire extra developers to keep the edge over LLVM? And to what end? Once LLVM takes over the crown I believe it makes more sense for a lot of GCC developers to just continue their work on LLVM instead, and GCC will shrink to irrelevance. But it's still good for all involved, as everybody gets a better compiler :)

      (And yes, I know, this might not happen for a long time, and GCC supports many more languages than LLVM, but I do think over time LLVM will become more dominant...)

    2. Re:Having a strong competitor to GCC by tuppe666 · · Score: 1

      No its just good for your agenda, although the heavy involvement of Apple without the support of a tit-for-tat license is going to major offputting for many developers. The irony of FreeBSD switching to Clang/LLVM is not lost on me. Personally the thought of a two-level development of a browser quite disturbing.

      The reality is GCC still moves forward, and Clang/LLVM has a long way to catch up, perhaps if develops stopped developing Clang/LLVM for that everyone would again getter a btter browser, and everyone would be on an equal playing field. ;)

      but like I say I prefer a world where some do not get a better browser than others :(

    3. Re:Having a strong competitor to GCC by lister+king+of+smeg · · Score: 2

      or GCC will simply grab the better code and GPL it leaving it with another lesser competator

      --
      ---Saying gnome 3 is better than windows 8 not so much a compliment as it is damning with light praise.
    4. Re:Having a strong competitor to GCC by Microlith · · Score: 1

      How are they going to hire extra developers to keep the edge over LLVM?

      How have they gotten this far? It's not like GCC is struggling to keep pace in development.

      Once LLVM takes over the crown I believe it makes more sense for a lot of GCC developers to just continue their work on LLVM instead, and GCC will shrink to irrelevance.

      Why would a GCC developer move to LLVM? Do you believe that all of the developers on the project are so opportunistic that they would simply jump to a different compiler? I suspect more than a few are also GPL supporters.

      But it's still good for all involved, as everybody gets a better compiler :)

      Well, better for some people. I suspect that the first fallout of any industry shift to LLVM will be that the public compiler will be significantly lacking in optimizations while the expensive, proprietary versions will have all the good optimizations.

    5. Re:Having a strong competitor to GCC by arendjr · · Score: 1

      My agenda has no stake in this debate other than me wanting to have a good open-source C++ compiler available.

      Why your mumbling about browsers is beyond me, but maybe I'm the one missing something...

    6. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      Change their license?

    7. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 1

      I suspect that the first fallout of any industry shift to LLVM will be that the public compiler will be significantly lacking in optimizations while the expensive, proprietary versions will have all the good optimizations.

      So GPL supporters are spreading FUD now? Bravo, guys, bravo!

      Firstly, by "any industry shift to LLVM", do you mean something like, say, XCode using LLVM+CLang as the default compiler for all projects?

      And secondly, what "expensive, proprietary version"? This does not exist - you have invented it, for the purpose of anti-BSD rhetoric. This is a paranoid possibility in your Stallman-dizzied head, not an actual fork. Apple, for instance, roll all the LLVM+CLang fixes back into mainline. Even though they don't have to. Look, people can act morally without religion!

      It's not like GCC is struggling to keep pace in development.

      And thirdly, the reason Apple moved to LLVM is because it has a better optimizer than GCC. It produces better code. Those of us who struggled with gcc 3.x for years waiting for them to put in some even vaguely modern compiler construction techniques are having a good old laugh at the idea that GCC doesn't struggle to keep pace. And we are never - never - going back to GCC, when we can avoid doing so.

    8. Re:Having a strong competitor to GCC by serviscope_minor · · Score: 4, Insightful

      Well, better for some people. I suspect that the first fallout of any industry shift to LLVM will be that the public compiler will be significantly lacking in optimizations while the expensive, proprietary versions will have all the good optimizations.

      Not just that.

      I remember the bad old days where every venduh and his dog had their own "extra proprietary super awseome dongle controlled extra awesome super cool" compiler.

      Vendors of hardware *LOVE* proprietary compilers. And by love, I mean love to break in mysterious and subtle ways.

      Once gcc took off in the embedded world, life got a lot better since many of the cheaper vendors would just use as close to stock gcc as possible (though usually with a little bit of extra internal compiler errors added), rather than some extra super proprietary extra messed up version.

      This isn't a business issue. There is no sane business case for taking a commercial compiler front end and a commercial compiler back end, filling it with extra bugs and shipping it. But hardware vendors love to believe that they have an awesome proprietary advantage in software for some reason. Even though they sell hardware. They don't, of course. I'd just say "whatever" except that turns rapidly into invective if one is forced to use their "tools".

      Once GCC came along, they believed that they no longer had such an advantage (presumably) so they stopped introducing their extra proprietary bugs into compilers, and limited themselves to a few extra miscellaneous bugs. But it was still mostly gcc and still mostly worked.

      If LLVM comes to dominate, the hardware vendors will jump right back on that attitude and make the life of the humble developer hell again.

      This isn't a religious, or philosophical issue. It's a "hardware vendors are mental" issue.

      --
      SJW n. One who posts facts.
    9. Re:Having a strong competitor to GCC by arendjr · · Score: 1

      Well, it seems to me the major forces driving the development of a compiler are the chip manufacturers and the developers of operating system. Both have an intrinsic desire to have a good compiler available to them. But what vested interest do they have that this compiler be GCC? If at some point in the future LLVM were to be become the one generating the most efficient code, and if the LLVM codebase is the more maintainable one, then why not switch?

      And both chip manufacturers and OS developers seem to have a common goal of making their optimizations available to as many developers as possible. It does not seem to be in their interest to make their optimized versions prioprietary. After all, the compiler is not their money maker, it's simply a prerequisite of getting developers to support their OS or CPU in the first place!

      You're right any GPL purists will likely stick to GCC, but personally I doubt they make up the majority of the GCC community.

    10. Re:Having a strong competitor to GCC by Microlith · · Score: 4, Insightful

      XCode using LLVM+CLang as the default compiler for all projects?

      That's hardly an industry shift and you know it.

      And secondly, what "expensive, proprietary version"? This does not exist - you have invented it, for the purpose of anti-BSD rhetoric.

      So we're going to ignore all of the proprietary, seat-licensed compilers out there?

      This is a paranoid possibility in your Stallman-dizzied head, not an actual fork.

      Quick! Into the name-calling and ad-hominem!

      Apple, for instance, roll all the LLVM+CLang fixes back into mainline.

      Do they? Unless you're on their compiler team you can't possibly know this.

      I believe the phrase "you mad" applies very, very well to your spittle-flecked rant here.

    11. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      Err, they improve by competing by encouraging developers to work on it, by sharing ideas, and testing new approaches to doing things.

      You can say it would not have an effect, but you would be almost certainly wrong. Even amongst unpaid developers I have seen this happen first hand several times. But the fact is that many many gcc developers ARE paid, and paid to work on gcc, to boot. Look at contributors, you'll find paid developers from SUSE, RedHat, Intel, IBM, ARM, Google,

      So you're really completely off the rails on multiple points. Congratulations, you fit in here perfectly.

    12. Re:Having a strong competitor to GCC by bill_mcgonigle · · Score: 1

      how are they going to hire extra developers to keep the edge over LLVM?

      that's the beauty of open source - LLVM devs are GCC's extra devs.

      They'll do experiments, try different techniques, and generally waste all sorts of time chasing dead ends that the gcc folks won't have to do. When the LLVM folks find a winner that's also applicable to the gcc model, all the gcc devs have to do is implement it. Their natural human drive for improvement, challenge, and excellence will compel them to compete.

      And the same goes for gcc devs chasing their experiments and the LLVM folks learning from it. Compiler techniques are still new and evolving so there's still much to be learned and the leading edge is always new and experimental so there's lots of room for both to improve. Rising tides will lift all boats.

      Fortunately there's no Berne-convention style automatic patents on ideas so they can freely float back and forth without license problems, even if the code is encumbered by copyright.

      PS the comments below will now point out that the two compilers use different sorts of backends and that advances in one won't necessarily be applicable to the other and that 'just implementing it' is a hard problem. Thank you, guys.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    13. Re:Having a strong competitor to GCC by jandrese · · Score: 1

      It's not that easy. gcc's issues are structural and intentional. It simply cannot provide the features that LLVM users are excited about, like proper IDE integration so you can finally get a real Visual Studio competitor on Linux.

      --

      I read the internet for the articles.
    14. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      So we're going to ignore all of the proprietary, seat-licensed compilers out there?

      Sure since you are ignoring

      svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
      cd llvm/tools
      svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
      cd ../..
      cd llvm/tools/clang/tools
      svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra
      cd ../../../..
      cd llvm/projects
      svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
      cd ../..
      mkdir build
      cd build ../llvm/configure
      make

      we can ignore "all of the proprietary, seat-licensed compilers out there".

    15. Re:Having a strong competitor to GCC by tyrione · · Score: 2

      Intel, AMD, Nvidia, Cray and more are all moving to LLVM/Clang by default.

    16. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      like proper IDE integration so you can finally get a real Visual Studio competitor on GNU/Linux

      That would be Emacs.

    17. Re:Having a strong competitor to GCC by tyrione · · Score: 2
      You're completely wrong with LLVM domination provides a gateway for Vendors to break stuff. The very manifesto of LLVM/Clang is being tested right now with Intel wanting to dump their Cilk Plus Extension into the source and getting major backlash from the core developers who refuse to put it in as it breaks with the intended foundations of LLVM/Clang. These are just a couple of the more kind remarks from Google and Apple where others are more sardonic regards to maintenance and impacting on the modularity and extendability of code maintenance this would impose and like with OpenCL Intel is discovering it has to play according to the rules everyone else in the Open Source Community play in LLVM/Clang or go home:

      Chandler Caruth writes: `` Before we go too far, and certainly before we dive in with patches, there is an important discussion which needs to take place: should Clang grow support for Cilk Plus.

      Clang has strongly resisted the urge to grow support for arbitrary vendor extensions to the C/C++ programming languages for several reasons:

      • - It aims to be a strictly standards enforcing compiler, something complicated by extensions
      • - To minimize maintenance burden, and ensure rapid development of Clang itself
      • - To avoid fragmentation, or supporting competing but different (or even opposed) extensions

      The current guidelines are that it is healthy for Clang to support an extension when there is a paper in front of the C++ committee which proposes making that extension part of standard C++, there is an active committee member backing that proposed extension, and there are indications of consensus on the direction if not the particulars of the extension as it will be standardized. Furthermore, if the extension is still undergoing significant discussion or is not yet reasonably clear that it will be a part of the upcoming standard, we really want an active, trusted member of the Clang community to be backing the implementation so that we have confidence in it getting updated to match the progress of the proposal to the committee.

      The goal here is to balance the desire to foster implementation experience with extensions to the language prior to standardization while minimizing the cost on the project and community and maximizing the quality bar of the primary Clang code base and released binaries[1][2].''

      Douglas Gregor extended the comments: `` This last comment is a stretch to the point of being ridiculous. GNU "extensions" tend to be smallish features that one would encounter when compiling code written with GCC in mind, or with GCC as the primary compiler. Cilk Plus has also been proposed for GCC, but it has not been released as part of GCC, and it's not clear that it will be released as part of GCC. It feels a bit like an arms dealer playing both sides of a conflict ''

    18. Re:Having a strong competitor to GCC by gnasher719 · · Score: 1

      or GCC will simply grab the better code and GPL it leaving it with another lesser competator

      You mean proponents of so-called "free" software would deliberately appropriate source code and try to prevent people from using it according to the license that the author intended?

    19. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      It's important that software released under less-free licenses are reduced in favor of free software. Use of less-free software is acceptable, but true free software is always preferable.

    20. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      It really won't make much difference.
      Apple will use what they like.
      Relatively few people use the BSDs or develop for them.
      Everyone else will continue using Linux and GCC.

    21. Re:Having a strong competitor to GCC by RocketRabbit · · Score: 1

      NIH syndrom inside the GCC project will ensure that this will never happen. Never, ever happen.

    22. Re:Having a strong competitor to GCC by Microlith · · Score: 1

      Unsubstantiated statement.

    23. Re:Having a strong competitor to GCC by Microlith · · Score: 1

      And you completely, utterly miss my point. Resorting to the "oh the source is still there!" argument while ignoring the fact that so much "secret sauce" will be kept back to discourage use of the open compiler in favor of the expensive, seat-licensed versions.

    24. Re:Having a strong competitor to GCC by lister+king+of+smeg · · Score: 1

      or GCC will simply grab the better code and GPL it leaving it with another lesser competator

      You mean proponents of so-called "free" software would deliberately appropriate source code and try to prevent people from using it according to the license that the author intended?

      i thought the BSD license was a "do what ever you want with it license". So the intent of the author is as is understand it is for you to do what ever you want with it including make it a different flavor of free.

      --
      ---Saying gnome 3 is better than windows 8 not so much a compliment as it is damning with light praise.
    25. Re:Having a strong competitor to GCC by firewrought · · Score: 2

      There is no sane business case for taking a commercial compiler front end and a commercial compiler back end, filling it with extra bugs and shipping it.

      Um, what about JIT'ing OpenGL shaders and writing efficient software fallbacks for them? Or what about IDE's (VisualStudio, Eclipse) where many awesome features rely on the editor having a rich API on top of the compiler? RMS put GCC on the wrong side of the future here... many products can be made better by leveraging a compiler API at runtime.

      --
      -1, Too Many Layers Of Abstraction
    26. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      > And the same goes for gcc devs chasing their experiments and the LLVM folks learning from it.

      The LLVM folks won't be able to use that because the gcc code has the GPL licence.

    27. Re:Having a strong competitor to GCC by firewrought · · Score: 1

      Meant to include link to what Apple did with LLVM and OpenGL: http://llvm.org/pubs/2007-03-12-BossaLLVMIntro.html

      --
      -1, Too Many Layers Of Abstraction
    28. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      Ok then point out where all these fictional "expensive, seat-licensed versions" of clang are.

    29. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      Here is a partial list of companies using LLVM

      National Instruments http://zone.ni.com/devzone/cda/pub/p/id/1177
      Apple https://developer.apple.com/technologies/tools/whats-new.html#llvm-compiler
      Cray http://www.nccs.gov/wp-content/training/2009_crayxt_workshop/apr13/NathanWichman1.pdf
      Intel http://software.intel.com/en-us/blogs/2009/05/27/why-we-chose-llvm
      Nvidia https://developer.nvidia.com/cuda-llvm-compiler
      AMD http://llvm.org/devmtg/2010-11/Villmow-OpenCL.pdf

    30. Re:Having a strong competitor to GCC by serviscope_minor · · Score: 1

      You're completely wrong with LLVM domination provides a gateway for Vendors to break stuff.

      No. You are completely wrong. You're talking about committing stuff upstream. I was talking about broken venduh tools.

      The BSD license is a license for hardware vendors to fill their own compiler full of proprietary goodies, i.e. bugs.

      Seriously, unless you have worked with embedded hardware with custom compilers you can have no conception as to how bloody insane hardware vendors are. Really. It's impossible to imagine because you would have the be completely broken in the head to imagine it. Well, that or a hardware vendor.

      --
      SJW n. One who posts facts.
    31. Re:Having a strong competitor to GCC by LingNoi · · Score: 1

      What secret source? It's time someone called out your bullshit. So show us this horrible abuse that's going on, well..? Where is it?

    32. Re:Having a strong competitor to GCC by tlhIngan · · Score: 2

      i thought the BSD license was a "do what ever you want with it license". So the intent of the author is as is understand it is for you to do what ever you want with it including make it a different flavor of free.

      True, except the GPL claims to be even "freer" than free by the advocates who love to point how closed-source projects "steal" BSD source. The irony is that the GPL is doing the exact same thing which is legal, except the GPL forces are claiming it's superior and freer.

      So you have one opensource license that basically legally takes code from another opensource license, except the changes can't ever make it back ("tainted"), yet that license is somehow "better" because it can do that.

      Take the code - the authors intend for people to do that by choosing the BSD. Just don't claim to be the "best" free license because you can take and not give back.

    33. Re:Having a strong competitor to GCC by tlhIngan · · Score: 1

      Apple moved to LLVM is because it has a better optimizer than GCC

      Actually, there's a HUGE movement away from FSF stuff because companies are scared of the GPLv3. The GPLv2 they could handle, but the GPLv3 imposes new terms and restrictions that companies are scared. Some are forcing all open-source software to go through lawyer reviews purely because of it. Some have maintained strict lists of "approved" open-source code that can be used in projects and internally, and that future GPLv3 projects will be disallowed except in exceptional circumstances, and only in tightly controlled ways. (It's much too easy to screw this up - all you need is v3/v3+ code and v2 code (not v2+) - you cannot combine the two at all due to incompatbilities).

      Apple gives back to LLVM because well, they created most of the Clang project. They've been heavily investing in Clang+LLVM as a move away from the GPLv3. The last patches Apple gave back to GCC were related to Grand Central Dispatch, after which Apple concentrated fully on Clang+LLVM as the default compiler.

      It took several years for this to happen - going all way back to the PowerPC days - I think 10.5 shipped with LLVM as an option over GCC, while 10.6 enabled LLVM but kept GCC as an option, and 10.7 stripped GCC completely.

      A lot of companies are investing heavily in LLVM because of it - it means they don't have to worry about the GPLv3 at all. And a lot of companies also find it better to stick with and submit patches to mainline for maintenance rather than try to keep maintaining their own port

    34. Re:Having a strong competitor to GCC by Rich0 · · Score: 1

      Take the code - the authors intend for people to do that by choosing the BSD. Just don't claim to be the "best" free license because you can take and not give back.

      If the authors didn't intend for people to take the code and re-release it under the GPL in a free competitor whose developments would be of no use to the original project they wouldn't have licensed it under the BSD.

      If you say "go ahead and take advantage of me," don't be surprised when people do...

    35. Re:Having a strong competitor to GCC by Anonymous Coward · · Score: 0

      like proper IDE integration so you can finally get a real Visual Studio competitor on Linux

      That would be Emacs.

      You introduced an error when you quoted the parent, which I fixed for you, and hilighted for your convenience.

      Of course, maybe you did that on purpose, but I still had to fix it.

      I say linux, instead of saying GNU/Linux...mostly because I'm not a gigantic faggot.

  14. LLVM stands for.... by RedHat+Rocky · · Score: 2

    Low Level Virtual Machine. However, has little to do with what it is now: http://en.wikipedia.org/wiki/LLVM

    Rename needed, certainly, it is.

    Carry on.

    --
    Anything is possible given time and money.
  15. Re:If you'd excuse my french... by tuppe666 · · Score: 0

    Fuck you GCC! I now can ay it freely and fuck GPL for that matter!

    Steve Jobs it that you ?

  16. Re:WOW by Anonymous Coward · · Score: 0

    People interested in Clang/LLVM might be interested in this even if they don't use BSD too. This would give more exposure and sources of contributions.

  17. Great news by Anonymous Coward · · Score: 0

    I'm a big fan of the Clang compiler. Mostly because of its warning and error messages. Often I find GCC spits out really cryptic messages and, in a few cases, it has given me incorrect warnings. I've also found GCC really inconsistent. ie Code which compiles and runs fine with GCC 4.6 won't build properly with GCC 4.7. Clang offers more consistency, the error messages and compiler warnings are beautifully written and I've found its performance (and the performance of its builds) about on par with GCC's. The liberal license is a nice bonus, but mainly Clang is just a much nicer compiler with which to work.

  18. "economic reasons" by tlambert · · Score: 4, Interesting

    A lot of graphics software infringes on existing patents, but that isn't a reason you can state without risking treble damages in a lawsuit, so most of the graphics driver writers tend to just look the other way and hum as they dance past that particular graveyard. Practically, it's impossible to write genuinely competitive graphics code without infringing some East Texas idiot's patent.

    There are also cases where code has specific strategic value to a company, and they want to amortize the cost of development over some period of time before they let their competitors use the code. For example, the Soft Updates code that Kirk McKusick, Julian Elisher, and I worked on for FreeBSD was licensed under a free-for-non-commercial-use license for a period of two years before we opened it up for general use. This was to allow us to recoup the investment on developing the code by allowing us to run our hardware without a UPS, while everyone else in the market had to have a UPS to deal with power failure and recovery. If you don't have it, you have to treat a power failure as a kernel panic and do a full fsck in order to return your disk to a known good state, since you can't otherwise guarantee that it wasn't a crash followed by a triple fault, which might have written bad data to some portion of the disk. So all the competing border router/SOHO server devices had to have batteries, which increased their cost relative to our product. It's one of the reasons IBM bought our company.

    Yeah, it'd be great if some idiot were to spend 10 years of their free time neglecting their families so that all this stuff could be free, but no one really wants to be that idiot: people work on free software for love, and they work on the hard problems and productization in exchange for money, since no one is going to do scut work for free unless they're a masochist (if you happen to know one, though, I have a project or two they could tackle if they really wanted to suffer).

    1. Re:"economic reasons" by Microlith · · Score: 0

      Yeah, it'd be great if some idiot were to spend 10 years of their free time neglecting their families so that all this stuff could be free, but no one really wants to be that idiot

      And as usual, a BSD proponent includes some sort of ignorant insult. Your commentary was good until this bit.

    2. Re:"economic reasons" by serviscope_minor · · Score: 0

      Yeah, it'd be great if some idiot were to spend 10 years of their free time neglecting their families so that all this stuff could be free, but no one really wants to be that idiot:

      You're absoloutely right, which is why BSD gets all the commercial development and Linux is a hobby project also-ran.

      --
      SJW n. One who posts facts.
    3. Re:"economic reasons" by Anonymous Coward · · Score: 0

      s/idiot/guy

      therego

      a non-insulting correction by a BSD proponent.

      care to make any other generalizations, idiot?

    4. Re:"economic reasons" by theArtificial · · Score: 1

      Ignorant? I know plenty of people whose actions fit this description. Be they a mechanic who works late, an artist who is trying to make a name for themselves, or a developer who is passionate. When you're on your deathbed will you lament that you wished you would've worked more to your family?

      --
      Man blir trött av att gå och göra ingenting.
    5. Re:"economic reasons" by Microlith · · Score: 1

      No, it's the ignorant implication that someone can't actually get paid and make a living working on free software, and that people who work on free software are "idiots."

      It's, sadly, typical of BSD-proponents.

    6. Re:"economic reasons" by theArtificial · · Score: 1
      Oh, I see, thanks for the clarification.

      It's, sadly, typical of BSD-proponents.

      You are aware that BSD software is free and you're commenting on a paid Free Software Developer's post? Might be you're reading too deeply into what he's saying, the sentence which directly follows the line you have an issue with elaborates on this:

      people work on free software for love, and they work on the hard problems and productization [sic] in exchange for money, since no one is going to do scut work for free unless they're a masochist

      Most of the heavy lifting in software revolves around paid developers because they're working on highly specialized things. He mentions that his project specifically was not free for commercial use to cover the cost of development; He is working on free software and being paid. If they're getting paid then they're not spending "10 years of their free time neglecting their families so that all this stuff could be free, but no one really wants to be that idiot" 10 years of your time on something that you're not compensated for is arguably idiotic if its to the detriment of your family (not just talking software here, "Where was your Dad/Mom when you were growing up?" "He was never home")

      --
      Man blir trött av att gå och göra ingenting.
  19. And thousands of Orthodox Stallmanites by Anonymous Coward · · Score: 0

    screamed out in terror. I feel something terrible has happened.
    Or maybe RMS just took a bath.

    1. Re:And thousands of Orthodox Stallmanites by Rockoon · · Score: 1

      Or maybe RMS just took a bath.

      No, thats scheduled for December 21st, 2012.

      --
      "His name was James Damore."
    2. Re:And thousands of Orthodox Stallmanites by cheesybagel · · Score: 1

      Ever heard of Open64? It's not like GCC and Clang are the only C++ compilers out there.

    3. Re:And thousands of Orthodox Stallmanites by badkarmadayaccount · · Score: 1

      Just in time for my birthday.

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  20. Good job, guys! by Brian+Feldman · · Score: 2

    I have been happily using clang++ at work for a while now and am thankful for the efforts in creating a real world-class open-source compiler suite! Glad to see FreeBSD become ever-freer!

    --
    Brian Fundakowski Feldman
    1. Re:Good job, guys! by Anonymous Coward · · Score: 0

      Wow dissing on GCC now gets modded +3 huh?

      Nice...

    2. Re:Good job, guys! by kthreadd · · Score: 1

      Wow dissing on GCC now gets modded +3 huh?

      Nice...

      Where does he mention GCC? From what I can tell he just mentions that clang++ works great.

  21. Re:WOW by gnasher719 · · Score: 3, Informative

    Most likely the BSD maintainers and developers out there.... bout thats less then 0.00001% of 7+billion people. I'm going to guess anywhere between 1-1000 =)

    Now add in all the Mac and iOS developers and the number increases just slightly. MacOS X 10.8 is completely built using Clang + LLVM. OpenGL uses LLVM. OpenCL uses LLVM.

  22. Freeeeeddddddddooooooommmmmm!!!! by Anonymous Coward · · Score: 0

    Down with restrictive licenses! :)

  23. Free software could leak cleartext or keys by tepples · · Score: 3, Insightful

    You even mention why: what would these software packages be without their WAD files, tax definition files and encryption keys.

    A video game licensed as free software could be modified to leak the decrypted WAD files. Furthermore, console makers forbid use of a copylefted engine. This means a copylefted game can't run on consoles, which means it can't use the large monitor and multiple gamepads that the player already owns for the console but wouldn't consider buying for a PC. (There are some major genres of video games that for economic reasons cannot be released as PC exclusives; I can explain in more detail if you wish.)

    A DRM crippled video player licensed as free software could be modified to leak the decryption keys, something that Disney, Fox, Paramount, Sony, Universal, and Warner Bros. forbid.

    A tax program licensed as free software could be modified to leak the decrypted tax definition files.

    1. Re:Free software could leak cleartext or keys by Crayon+Kid · · Score: 1

      Ah, but we should also point out that closed software on open hardware does little to achieve the above restrictions or protection of data. As long as the user has access to the underlaying machine they can still access the raw form of the program and the data. It's harder than having clear-text source code and unobfuscated data, sure, but it's doable.

      The only environment in which closed-source code works is putting it on locked-down hardware, a "black box" of sorts with no external clue as to what's going on inside. You can sell such boxes to users (game consoles, media players) or you can keep them at your place and just rent the use of them remotely (web servers).

      (if you're selling individual units to the users) and create a "black box" of sorts with no external clue as to how it works; or putting it on hardware you own and control fully, and just open the interface to the user (Web servers) -- which is pretty much the same as the previous, except you also keep the black box and just sell the use of it.

      But if the code is always in a locked-down black box I don't see that it even matters anymore if it's "open" or "close".

      Source code being open or close is not really the point, it's about whether the hardware is open or closed.

      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
    2. Re:Free software could leak cleartext or keys by tepples · · Score: 1

      Ah, but we should also point out that closed software on open hardware does little to achieve the above restrictions or protection of data.

      It does enough to mollify Hollywood.

      Think of it another way: If it's feasible to make money on a video game with a free engine and proprietary data, then why aren't there more popular video games built on engines that have been free from day one?

    3. Re:Free software could leak cleartext or keys by richlv · · Score: 1

      A video game licensed as free software could be modified to leak the decrypted WAD files.

      the amount of games being funded on kickstarter makes me quite bold to shrug at that argument. i could not have enough time to play all those games already... business models change.

      A tax program licensed as free software could be modified to leak the decrypted tax definition files.

      i'd expect a tax office to define common format for tax laws, and distribute w/o any charge such definition files, which should then be used by software. we're past the baby steps of it, and i do believe they have at least a couple of competent people working for the tax office in every country.

      --
      Rich
    4. Re:Free software could leak cleartext or keys by Crayon+Kid · · Score: 1

      If it's feasible to make money on a video game with a free engine and proprietary data, then why aren't there more popular video games built on engines that have been free from day one?

      Not sure what you're asking, the first part of this question is completely disconnected from the second. And they both completely disregard what I've said above.

      It doesn't matter if the code or the data is open or not. What matters is whether the hardware will cooperate to let you reverse engineer it.

      As for Hollywood and game companies, they're not exactly poster children for moving with the times and waking up to the realities of technology.

      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
    5. Re:Free software could leak cleartext or keys by icebraining · · Score: 1

      Yeah, our tax software here in Portugal must also be closed source, by rules of the IRS (which must certify it), since it uses a private key to chain sign the invoices and such, preventing "accidental deletions".

      In reality I extracted the private key from one of such applications using nothing but Ollydbg and notepad during my lunch hour, and I'm a newbie in software cracking.

      The security of proprietary software is illusionary. He who controls the machine, controls the software.

    6. Re:Free software could leak cleartext or keys by tepples · · Score: 2

      Think of it another way: If it's feasible to make money on a video game with a free engine and proprietary data, then why aren't there more popular video games built on engines that have been free from day one?

      Not sure what you're asking, the first part of this question is completely disconnected from the second.

      Then let me rephrase the question using grammatical parallelism to reconnect the first part to the second: If it's feasible to derive a source of revenue from releasing a video game with a free engine and proprietary data, then why haven't companies taken advantage of this feasibility and released popular video games with a free engine and proprietary data?

      And they both completely disregard what I've said above.

      Which is why I introduced that question with "Think of it another way". I was trying to establish the criterion of whether or not a particular business model has the potential for profit, as opposed to the criterion of whether or not a particular platform has the potential for perfect secrecy.

      As for Hollywood and game companies, they're not exactly poster children for moving with the times and waking up to the realities of technology.

      For companies that are behind the times, the six companies that make up "Hollywood" exert a disproportionate influence on legislation. My hypothesis is that this is due to campaign contributions, both overt (remember Chris Dodd's complaints after SOPA failed that Congress wasn't bought enough?) and as in-kind donations of airtime from their affiliated TV news outlets.

  24. Re:If you'd excuse my french... by Creepy · · Score: 1

    The FSF has always granted an exception for compiling non-GPL3 software, but they don't like it. Others (like me) have feared they may pull such licensing sometime in the future, so having an alternative is a good thing - we shouldn't put too much power in the control of one relatively radical group.

  25. Types of freedom by Meneth · · Score: 0

    The GPL protects the user's rights and the Free software engineer's rights.

    The BSD license protects the closed-source programmer's rights.

    So why would anyone prefer BSD? Because they're on the payroll of closed-source companies.

    1. Re:Types of freedom by kthreadd · · Score: 2

      I think it comes down to what you define as free software. The Stallman approach is of course very popular, but some say that's actually a bit more non-free since it restricts users of the source code and using BSD is in that sense more free. And it works well. Apple for example is using lots of FreeBSD in their operating system, and they contribute back.

    2. Re:Types of freedom by sl3xd · · Score: 2

      Apple for example is using lots of FreeBSD in their operating system, and they contribute back.

      Careful, pointing out that Apple contributes back to FOSS will get you lynched on /.

      Pointing out that Apple releases their OS kernel under an open license, as well as pays to develop CUPS, WebKit, and LLVM/Clang, will result in them pissing on your grave.

      There really are far too many GPL extremists whom condemn any software that doesn't fit into the GPL orthodoxy, even if they use alternate free software licenses. It's almost comical how much it has in common with the Catholic persecution of the heretical Protestants - only this time, it's with a software license of all things.

      The BSD and Apache licenses are good examples of non-copyleft, free licenses, and in all honesty, they don't have to worry about compelling developers to contribute their changes because of simple economics: It's prohibitively expensive to maintain a closed fork, and is almost always much cheaper to just contribute the code upstream voluntarily. It's a different mechanism than the GPL's, but it still works very well.

      --
      -- Sometimes you have to turn the lights off in order to see.
  26. Re:If you'd excuse my french... by Anonymous Coward · · Score: 0

    No. He's dead, Jim. I mean, tuppe666.

  27. How is it incompatible? by Anonymous Coward · · Score: 1

    The output of GCC is not GPL'd.
    BSD is aggregated with non-BSD and incompatible-with-BSD licensed code all the time (e.g. Windows with BSD's stack: the Windows code cannot be put in a BSD licensed product).

    So how is the GPL license being incompatible with BSD's license OF ANY IMPLICATION AT ALL in using the GCC compiler with BSD?

    Heck, the BSD code is (according to TdR and several other BSD trolls) incompatible with the GPL: when someone put a GPL only license on the code (despite the previous versions still being available as the BSD fluffers say is why the BSD is fine to use), TdR went BALLISTIC and insisted this was a copyright violation.

    1. Re:How is it incompatible? by Anonymous Coward · · Score: 0

      Because it limits the use of the compiler itself. For example you cannot use GCC as a front end parser in a BSD licensed code editor. Now it is strange in the extreme to ship a compiler with BSD that can not actually be freely used (i.e. embedded) in BSD licensed software.

    2. Re:How is it incompatible? by LingNoi · · Score: 1

      > So how is the GPL license being incompatible with BSD's license OF ANY IMPLICATION AT ALL in using the GCC compiler with BSD?

      Apple is spearheading the process behind LLVM. When GCC changed to GPL 3 they began work on replacing GCC used in xcode with LLVM.

      The whole including it in the BSD OS is because they don't want to be seen as hypocrites by depending upon a GPL program.

    3. Re:How is it incompatible? by unixisc · · Score: 1

      The patent requirement in GPL3, where if one of the distributing parties has any patents that are being used by the said GPL software, they have to grant everyone who gets that software the right to use that patent. GPL2 did not have this, so Apple didn't have any problems in the past using GPL. But since GPL3 included it, Apple saw that it would no longer be able to protect its patents if it continued to use GPLed software, and so they tossed out any GPL software they may have otherwise used. It's not just GCC that's gone, but Samba as well.

  28. KDE by Seeteufel · · Score: 2

    Is it possible to build KDE with LLVM?

    1. Re:KDE by jandrese · · Score: 1

      It should be. Most projects compile with LLVM just fine, although there are a few holdouts. Wine doesn't work, and neither does VirtualBox.

      --

      I read the internet for the articles.
    2. Re:KDE by Anonymous Coward · · Score: 0

      Wine never will. Wine depends on writes to NULL actually working for 16 bit support.

    3. Re:KDE by kthreadd · · Score: 2

      And for those projects I guess the FreeBSD ports system will just install gcc, so it will continue to build on FreeBSD. GCC is available in the ports tree, they just don't want to include it in the base system.

    4. Re:KDE by Anonymous Coward · · Score: 0

      Wine does work actually, just not as good (e.g. Steam overlay doesn't work due to no ms_hook_prologue). http://wiki.winehq.org/Clang

    5. Re:KDE by Anonymous Coward · · Score: 0

      I was actually crazy enough to try building KDE with Clang. Short answer: bits of Qt compile without errors but are actually misompiled and exhibit weird behaviour at runtime. I did avoid this by compiling the problematic code with GCC as Clang++ was set up to use g++ ABI making them compatible with each other. And it did workuntil a new version of Qt/KDE came about and it was broken at runtime different ways again so I went with pure GCC instead of trying to once again identify code that builds fine with Clang but is actually miscompiled.

    6. Re:KDE by unixisc · · Score: 1

      Hopefully, Digia ports Qt to LLVM/Clang, as well as to Objective-C

    7. Re:KDE by Seeteufel · · Score: 1

      Traditionally BSD is a KDE shop, so I'd expect they would make it run.

    8. Re:KDE by Anonymous Coward · · Score: 0

      Is it possible to build KDE with LLVM?

      The FreeBSD/KDE team is working hard on this very thing, and they have the privs to merge fixes upstream.

      As I understand it, as of KDE SC 4.9.3 they are pretty much 100% there.

    9. Re:KDE by Anonymous Coward · · Score: 0

      Traditionally BSD is a KDE shop, so I'd expect they would make it run.

      Bullshit.

      "BSD" as you put it is a run whatever the fuck you please shop. You could even run gnome, if you're feeling masochistic and don't want a useful desktop environment.

    10. Re:KDE by Anonymous Coward · · Score: 0

      http://wiki.winehq.org/Clang

      Do you ever grow tired of being wrong?

      I'd probably kill myself if I was wrong as often as you are. Seriously, I wouldn't want to keep living if I was that much of a dipshit.

  29. Like BSD code gone propriatory by Anonymous Coward · · Score: 0

    Like BSD code gone propriatory, if GCC did pull such licensing in the future, you would STILL have the previous versions of GCC.

    Or is this only a reason why BSD is brilliant, that you can get the earleir versions without the improvements under the same license, but not a good thing for the GPL licensed stuff?

    Strange double standard there.

  30. Your anti-GPL FUD is inaccurate and unconvincing. by Medievalist · · Score: 3, Insightful

    It seems to me that the ability to "lock up" formerly free software has enabled the worst actors in the global market for computer software to accumulate wealth and power which they have then used to distort the market to the detriment of free software authors. The GPL is a response to this perception.

    And frankly, while I support your freedom to release your code under any license you wish (a freedom many BSD people don't seem to like) I find these "GPL tekks away mah freederms" sound bites laughable. You said "it destroys the freedom to select a business model of your choice". What utter tripe.

    The copyright laws that empower the GPL (if you choose to use GPL'ed code, instead of doing your own work with the sweat of your own brow) restrict your choices of business model, just like laws against theft, murder and rape do. Comparing restriction of choices to removal of freedom is disingenuous rhetorical grandstanding; do you protest the Earth's gravity restricting your freedom to fly? Do you protest the sun's light restricting your freedom to walk around naked without getting sunburned? Do you protest society restricting your freedom to practice cannibalism and slavery? Your argument is ridiculous; it sounds like you want to steal my work against my will and profit by it, and you're crying because copyright laws will allow me to prosecute you if you try to cheat me.

    Use whatever license you choose, but stop pretending anyone ever had a "freedom" to use other people's code in ways the authors have specifically forbidden, and that this fake "freedom" has been taken away. Nothing has been lost except the ability to be an ugly, hypocritical parasite on the hard work of other people - people who are more than willing to share their efforts with the world, as long as the terms are share-and-share-alike, as in the GPL and similar licenses.

  31. Can modify GPL'd code, make money and *not* share by perpenso · · Score: 4, Insightful

    GPL is for people and companies that think "I wrote this software [together with X, Y and Z] and if somebody else makes it better they must share it with all the world, as I did."

    That is quite misinformed. Organizations can modify and use GPL'd code internally, make a lot of money off of it, and not share with anyone. I believe Google does so.

    BSD is for people and companies that think "I wrote this software [together with X, Y and Z] and I accept the loss that somebody else makes it better and keep it for themselves because I want to have the option of getting somebody's else software, make it better and keep it for me without sharing it back."

    Beyond misinformed, merely a spouting of FSF spin.

    In truth the BSD folks want the widest possible distribution of their software because they believe that will ultimately provide the computing world the greatest benefit. BSD Unix arguably did provide quite a benefit to both hobbyists and corporations.

    Perhaps more importantly is that BSD Unix was a product of the University of California, a taxpayer funded entity, and they felt that all taxpayers should have equal access to their work. That the politics of picking good users and bad, approved uses of the software and unapproved, etc was wrong.

  32. Re:If you'd excuse my french... by FranTaylor · · Score: 1

    we shouldn't put too much power in the control of one relatively radical group.

    This is the ENTIRE REASON for the GPL: NOBODY can be "in control" of the source code.

  33. Re:Can modify GPL'd code, make money and *not* sha by marcello_dl · · Score: 1

    In truth the BSD folks want the widest possible distribution of their software because they believe that will ultimately provide the computing world the greatest benefit.

    Closed source is controlled source, it can't happen.

    Look at OSX. Tomorrow apple decides iOS is fine for macs, dumps OSX and all its improvements to bsd will be lost like ballmer's chairs in google's direction.

    --
    ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
  34. Welcome FreeBSD! from your cousin OS X by Anonymous Coward · · Score: 0

    The best untalked-about alliance ever in computing. Thanks Jordan Hubbard, you've been a dear friend

    1. Re:Welcome FreeBSD! from your cousin OS X by sl3xd · · Score: 2

      Yup. In many ways, FreeBSD probably has more desktop users than Linux does; it's just that FreeBSD is renamed "OS X", and has a bunch of additional software dropped in. In many ways, OS X is FreeBSD with a set of additional proprietary userspace interface and API's dropped in.

      And yet, in spite of OS X being a 'closed fork', Apple still voluntarily contributes a substantial amount of code back to FreeBSD. To me, it's proof that the BSD license works well, and that compulsory contribution isn't the only way to get those who improve your code to send the improvements to the community. It's also proof that "closed forks," while technically possible, are practically non-existent: Even Apple can't afford to maintain a closed fork, so they contribute code back upstream.

      Sadly, there are far too many on ./ that let their emotions get in the way of factual reality, and focus on what might happen, instead on what actually does happen. Much like how the MPAA worries about how DeCSS could be used to facilitate piracy, even though in most cases it's just so we can watch our own DVD's.

      --
      -- Sometimes you have to turn the lights off in order to see.
    2. Re:Welcome FreeBSD! from your cousin OS X by bluefoxlucid · · Score: 1

      Cousin? I thought they were having sex.

      Oh wait. Yeah, most BSD folks I meet seem to be Alabaman or Californian...

    3. Re:Welcome FreeBSD! from your cousin OS X by Anonymous Coward · · Score: 0

      Funny thing, the world has moved on from DVDs. Where is the Linux BluRay player?

    4. Re:Welcome FreeBSD! from your cousin OS X by manu0601 · · Score: 1

      Yup. In many ways, FreeBSD probably has more desktop users than Linux does; it's just that FreeBSD is renamed "OS X"

      Not quite. OS X has a lot of Apple proprietary code, and a Mach microkernel that is not related to FreeBSD in any way. The FreeBSD influence can be seen in userland, but if you run ident /usr/bin/*|grep BSD you will find that NetBSD and OpenBSD are also big players in MacOS X

    5. Re:Welcome FreeBSD! from your cousin OS X by sl3xd · · Score: 1

      ... a Mach microkernel that is not related to FreeBSD in any way.

      Wikipedia doesn't seem to agree:

      "The BSD code present in XNU came from the FreeBSD kernel. Although much of it has been significantly modified, code sharing still occurs between Apple and the FreeBSD Project.[4]"

      The XNU kernel is more of a hybrid with the FreeBSD and Mach kernels glued together.

      --
      -- Sometimes you have to turn the lights off in order to see.
    6. Re:Welcome FreeBSD! from your cousin OS X by petteyg359 · · Score: 1

      It's called VLC. The problem is the stupid legal situation.

      http://vlc-bluray.whoknowsmy.name/

    7. Re:Welcome FreeBSD! from your cousin OS X by manu0601 · · Score: 1

      Wikipedia doesn't seem to agree:(...)The XNU kernel is more of a hybrid with the FreeBSD and Mach kernels glued together.

      Actually Wikipedia agrees with me. There are really two kernels glued together in OS X. System calls with positive numbers are dispatched to the BSD kernel (which is indeed close to the FreeBSD kernel) whereas system calls with negative numbers are sent to the Mach microkernel (which, as I said, have nothing to do with FreeBSD).

      Mach is completely alien to FreeBSD. There is no concept such as Mach messages, ports and rights in the FreeBSD kernel.

      Now I wonder how close the BSD kernel in OS X is to FreeBSD, compared to other BSDs. I have no opinion on this point.

  35. Re:If you'd excuse my french... by Anonymous Coward · · Score: 0

    we shouldn't put too much power in the control of one relatively radical group.

    This is the ENTIRE REASON for the GPL: NOBODY can be "in control" of the source code.

    This is a popular misconception.

    The owner of the source code can do what he or she likes, including closing the source to later versions, and is always in control. Only licensees (i.e. users!) of GPL source code have their rights restricted.

  36. Five different virtual machines by tepples · · Score: 2

    Who would put a compiler as part of their software (either FOSS or otherwise)?

    Implementations of the Java virtual machine, the Common Language Runtime (.NET virtual machine), the ActionScript engine in an SWF player, the JavaScript engine in a web browser, or a shader engine in an OpenGL implementation need to compile platform-independent bytecode into platform-specific native code.

  37. Re:WOW by dgatwood · · Score: 1

    To be fair, though, most Mac and iOS developers probably have no real reason to care whether FreeBSD is using the same compiler.

    --

    Check out my sci-fi/humor trilogy at PatriotsBooks.

  38. So you leeched off someone. by Anonymous Coward · · Score: 0

    You got a headstart off someone else's code, but you are denying them a headstart on yours.

    Yeah, you're a leech.

    1. Re:So you leeched off someone. by Anne+Thwacks · · Score: 1
      Yes. Probably you are young and foolish, or the code is of no consequence.Those of us old enough to have lawns have discovered that most of the code you have written needs supporting, and if you can write code, you would prefer to do something else than support it. If you have improved someone else's code, you probably dont want to support that either. If you have paid your staff to fix some code, you probably dont want to pay them to support it when they could be writing or fixing something else.

      So give your code back, and the world will give youi support for free

      Of course, if you have "borrowed" a TCP/IP stack from someone else, and prefer not to give it back, then you wont get free support (for your crappy OS, which you are afraid to expose to the glare of public examination).

      Yes, I prefer the stabuility of FreeBSD over Windows for infrastructure. (But as a massochist, I prefer my desktop to BSOD :-)

      --
      Sent from my ASR33 using ASCII
    2. Re:So you leeched off someone. by smash · · Score: 1

      No. The open source code is still out there. I'm merely able to charge for the product that includes my modifications without releasing them. if someone wants to develop a new product or use the open source version it is still there.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  39. Re:Can modify GPL'd code, make money and *not* sha by perpenso · · Score: 1

    In truth the BSD folks want the widest possible distribution of their software because they believe that will ultimately provide the computing world the greatest benefit.

    Closed source is controlled source, it can't happen. Look at OSX. Tomorrow apple decides iOS is fine for macs, dumps OSX and all its improvements to bsd will be lost like ballmer's chairs in google's direction.

    Sure, lets look at Mac OS X. The Mach and BSD code is part of a kernel named Darwin. Darwin is available for download from Apple's site. As is the source code to various other permissively licensed non-GPL'd projects that Apple incorporates. No improvements will be lost. Many corporations using BSD give back.

    Also, GPL'd code can be closed source as well. Look at various key services offered by Google where modified GPL'd code is not distributed by rather accessed.

  40. Re:Can modify GPL'd code, make money and *not* sha by marcello_dl · · Score: 1

    Darwin can be left open because there is so much closed source stuff atop it before one can use darwin to make a competitor to OSX. I am not saying this is not possible to replicate under the GPL, as Android is exactly that, a GPL kernel which is de facto controlled by Google. I am saying OSX is not Darwin. The applications depend on the GUI and the possibly closed source drivers.

    And if somebody did, and if it got succesful, there is still the software patents weapon to use.

    About GPL you described an earlier flaw, affero fixed that and I still think that those selling services based on improved OSS are not following the spirit of the earlier GPL, so again not a good point.

    --
    ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
  41. Re:Your anti-GPL FUD is inaccurate and unconvincin by Bengie · · Score: 4, Insightful

    It seems to me that the ability to "lock up" formerly free software has enabled the worst actors in the global market for computer software to accumulate wealth and power which they have then used to distort the market to the detriment of free software authors. The GPL is a response to this perception.

    The software is always free. What they do is not make their changes free, but the original is still free as ever.

    An idea cannot be "stolen" or "taken away". The original will always remain.

    Personally, I think most people's ability to think breaks down once "infinite" is involved. I have no qualms with GPL, but your argument is full of holes. You are as bad as the RIAA claiming others steal their work and every stolen copy is a lost sale. Please revise your argument, it makes the GPL look like a bunch of zealots use it.

  42. Re:WOW by Narishma · · Score: 0

    OpenGL and OpenCL APIs. They don't "use" LLVM. Only a few implementations of OpenGL and OpenCL use LLVM.

    --
    Mada mada dane.
  43. Re:WOW by Shag · · Score: 1

    Yeah, probably not.

    As an old UNIX/BSD hand who's now using a Mac, I'm a little hopeful that this might somehow make FOSS builds on the Mac easier, or make MacPorts a little more bulletproof.

    --
    Village idiot in some extremely smart villages.
  44. Re:Can modify GPL'd code, make money and *not* sha by perpenso · · Score: 2

    Darwin can be left open because there is so much closed source stuff atop it before one can use darwin to make a competitor to OSX.

    That seems to be a strawman. The stuff on top of Darwin is neither BSD nor GPL, its not relevant. The fact remains that modified BSD code used by Apple is given back. Other corporations do so as well.

    I still think that those selling services based on improved OSS are not following the spirit of the earlier GPL, so again not a good point.

    The spirit of BSD is also to give back and share, and various corporations do follow this spirit without any arm twisting.

  45. Re:WOW by TeknoHog · · Score: 1

    OpenGL uses LLVM. OpenCL uses LLVM.

    Yes, in the same way as C uses LLVM. No, wait, doesn't C use GCC?

    --
    Escher was the first MC and Giger invented the HR department.
  46. BSD is the carrot by epine · · Score: 1

    The BSD license protects the closed-source programmer's rights.

    Are you the troll on Obama futures at Intrade last night who finally had to admit that "his reality" was not "our reality" (only the feeling evaporated after a good night's sleep)?

    Obviously there are many of us out in the world who are intelligent, articulate, well informed and passionate about open source who don't parse the issue this way. Imagine that. You do you just lump us under "delusional" and continue to double-down on Romney? Obama will lose because "the nation won't tolerate another four years of his demonstrated incompetence". Do you have anything constructive to add to this?

    Why should sharing ideas be morally mandatory in a society where sharing the wealth isn't? If deep down you believe that both are mandatory (I doubt this would make you popular) why do you wish to start with making the sharing of ideas mandatory, leaving the question of wealth sharing for a future generation to solve? Wouldn't the solution for both problem go hand-in-hand?

    A guest at EconTalk recently observed that the industrial world now has two distinct inflation rates: a low rate for downscale merchandise produced in China and retailed by BorgBoxes, and a higher rate for personal services (such as haircuts). The lower classes have greater exposure to the low inflation rate, the middle and upper middle class has greater exposure to the higher inflation rate, and the one percent are making out so well that the inflation rate is merely a pimple on a flea's backside (like the Princess and the Pea, this doesn't prevent them from whinging about it). Darn it to hell, having someone else clean the toilet gets more expensive every year! We'll see about that! There is the economic theory of trickle down, and then there are the moral sentiments of trickle down.

    A related concept that cuts along the same grain is the distinction between public goods and private goods. Certain types of economic activity produce the greatest benefit when widely distributed at the least cost. This gives Big Pharma big ulcers. Whenever you market a benefit where a large group of people pay for a benefit that only a subpopulation receives (as is the case with Lipitor and every other blockbuster of that nature) you are operating within a socialist regime. Now you can say that if you don't know who benefits and who doesn't, everyone is paying for the same share of a prospective benefit, so what's the problem? The problem is that Big Pharma goes to an immense amount of trouble to ensure that the studies which validate the efficacy of a drug do so on the largest possible population where they can get a statistically significant effect. Do they wish to study a subgroup which receives ten times the benefit, but which is only ten percent as large (at less scale and cost)? Absolutely not. No pharmaceutical wants to develop a product where a small population is paying $500 a pill, unless it's a cancer ward or something else equally dire. Here's the beauty of the model: the FDA doesn't really regulate drug-drug interactions. Old people taking a dozen different meds in the hope of actually receiving benefit from a few of them are mostly taking the risks of drug-drug interactions upon their own shoulders. Not our problem, says Big Pharma. Not your problem, nods the FDA. If actually fatalities (or strokes or psychotic episodes) are reported and traced back to drug-drug interactions, word goes out to the dispensaries. Sometimes a particularly troublesome drug is actually yanked or locked behind the thickest bars (MOAI antidepressants, terfenadine). This is the ugly side of socialism run by capitalists.

    Now if Cayce Pollard develops a piece of software for the benefit of professional beauticians to keep their favoured clientele one extra quarter step ahead of the relentless march of fashion, should she be obligated to share around her source code, just because? Is this your idea of a public good? Or is th

  47. Re:WOW by Anonymous Coward · · Score: 0

    Only Apple's, Nvidia's, Intel's, AMD's etc. I guess that's only a few.

  48. Re:WOW by Anonymous Coward · · Score: 0

    To be fair, though, most Mac and iOS developers probably have no real reason to care whether FreeBSD is using the same compiler.

    The FreeBSD Ports has 23944 items in it at this moment. If, as a developer, you want to use one of them as part of your project, then having the FreeBSD folks debug and fix compile/build problems so that you don't have to saves you time (and possibly money).

    Other folks (like Linux distributions) may also benefit, as most people simply use GCC, but if you're using an/other compiler/s, it forces the developers of the programs (and the compiler writers) to be honest in not relying on the behavior of just one piece of software. It's the same reason why it's prudent to develop an OS against more than one architecture, and to run software on more than one (POSIX) OS: it keeps developers honest.

  49. Re:Your anti-GPL FUD is inaccurate and unconvincin by gr8_phk · · Score: 0, Troll

    The software is always free. What they do is not make their changes free, but the original is still free as ever. An idea cannot be "stolen" or "taken away". The original will always remain.

    That's nice - you can freely obtain the version of BSD that later became Apples Mac OSX. That doesn't really allow you to use it on a Mac now does it? It doesn't do anything for you should you want to tweak the OS on your Mac - not a darn thing. Now that's fine, people who put out code under a BSD license are OK with that. Others want ALL users of their code to have access to the source of derivative works too and they put a GPL license on it.

    But imagine if the BSD projects today failed due to lack of interest. Then the authors die, the archived copies go offline and disappear. Now all that's left is a proprietary product built on that formerly open work. One can argue that the BSD developers would be happy that their work lives on, but one can also see that someone else would be upset that their work is no longer open even though it is widely used. As and aside - I wonder how said BSD developer would feel if someone took the BSD code, changed it to GPL (interesting that that's allowed, but hey the original is still available) and eventually the GPL branch was the only one in existence.

    There are two different views and for that there are two different license. I wish people firmly in each camp could clearly see and appreciate the reasons for the others existence rather than saying they're philosophy is wrong in some way. IMHO GPL is preferable from a philosophical point of view, but BSD can be (I think) more practical in some cases.

  50. Re:WOW by laffer1 · · Score: 1

    Last I heard, FreeBSD was going to use GCC from ports to build other ports that failed to compile with the system compiler (llvm). They've had to do this lately anyway because many things wouldn't build with gcc 4.2 anymore.

    Native support for some ports may happen, but only if they believe there will be upstream cooperation. For instance, a bug with perl or tcsh would get fixed but GNOME or XFCE bugs won't.

  51. Now, define "outlier"... by Anonymous Coward · · Score: 0

    The defintion of "Outlier" is classicly "well it was faster here"... The predicate that the argument is therefore "it must be faster everywhere" is false.

    I have no actual opinion on the issue's truth here. I just comment that your single case of a single faster result can not be taken as evidence that all results will be faster.

    Since you ignore key concepts like "most cases" and "outliers" in the predicate your counter example is actually wholly within the original statement.

    1. Re:Now, define "outlier"... by Anonymous Coward · · Score: 0

      evidence that all results will be faster

      Pure straw man. You just made that up. Does not appear in post you reply.

      Since you ignore key concepts like "most cases" and "outliers" in the predicate your counter example is actually wholly within the original statement.

      OP claimed 5 to 25 percent performance hit in "most" cases. Post you reply claimed 2 to 3 percent performance improvement in one case.

      In fact it is you who confuses a data point with a general claim.

  52. Millenium asked for economic reasons; I gave some by tlambert · · Score: 2

    There are also economic reasons that Android replicates a lot of internal Linux APIs in order to get out from under the EXPORT_SYMBOL_GPL() so it can have faster/closed source graphics drivers.

    Look, I most recently worked for Google on the ARM ChromeBook that Samsung recently announced. In the process, I did bring-up on the cellular modem and the camera, fixed the PMIC code, and did other things that ended up in the Linux Samsung 5250 board support, as well as rewrote the i8042 keyboard driver in u-boot in order to let it support ANSI 3.64 escape sequences for keys that couldn't be repreented by a single keycode. I also did work on the embedded controller and touchpad integration in the older original commercial Chromebooks from Acer and Samsung both.

    I also filed for two patents.

    Linux gets a lot of tactical development being released for free, and it gets a lot of strategic development that remains closed source. Just like much of the original Tivo work, and just like the actually high performance 3D nVidia support, all of which are also closed source.

    A company which "gets" open source development "gets" that you give away the tactical stuff so that you offload your maintenance, and you hold the strategic stuff very close to you so that you can continue to afford to pay developers to work on stuff.

    Google is in a fairly unique position in that most of the people playing with open source inside Google aren't supported by amortization of their work product, but instead are supported by advertising revenue. Frankly, most of them are not contributing to Googles bottom line (and I did not kid myself about this; I did some outstanding work, but probably the patents which could be used defensively if applied to phones or tablets was my biggest contribution to the bottom line).

    So yeah, nice work if you can get it, but not something that generally generates revenue, and I know for a fact that there is a lot of code that Google has been struggling to get into Linux for many years (e.g. the virtual TSC resynchronization code for AMD processors, for one).

    And the claim that BSD doesn't get a lot of commercial development is also BS.

    I was on the Core OS kernel team at Apple for 8 years, and was the primary kernel person involved in getting Mac OS X's UNIX certification. Inside Apple, you are not allowed to write papers for external publication, or books, without a VP signature, and you are unlikely to get one, so even if things don't get crowed about, there's a hell of a lot of commercial effort going into BSD there.

    Juniper also does a lot of commercial BSD development, and so do 3 of the top 4 L3/L4 switches and load balancers.

    You just don't see it because people who Mention features or use" of BSD licensed code, at least for the traditional BSD license, have to give credit when they are claiming a specific feature, and so rather than bother, most companies simply don't mention it.

  53. Re:Can modify GPL'd code, make money and *not* sha by richlv · · Score: 0

    Perhaps more importantly is that BSD Unix was a product of the University of California, a taxpayer funded entity, and they felt that all taxpayers should have equal access to their work. That the politics of picking good users and bad, approved uses of the software and unapproved, etc was wrong.

    but that seems to sound like arguing yourself in a corner. if all taxpayers should have equal access, why should some have ability to benefit from it, but restrict others from benefiting from the original release ?

    i'll attempt a bicycle analogy here ;)
    let's say a city govt provided free bicycles. you can use them, but you should share them - you can't just grab one and claim it to be yours only. but... if you make the seat a bit more padded, or add a new reflector, then somehow you could make it yours only.

    --
    Rich
  54. Re:Can modify GPL'd code, make money and *not* sha by perpenso · · Score: 1

    Perhaps more importantly is that BSD Unix was a product of the University of California, a taxpayer funded entity, and they felt that all taxpayers should have equal access to their work. That the politics of picking good users and bad, approved uses of the software and unapproved, etc was wrong.

    but that seems to sound like arguing yourself in a corner. if all taxpayers should have equal access, why should some have ability to benefit from it, but restrict others from benefiting from the original release ?

    No one is deprived of the original taxpayer funded release or taxpayer funded updates. It is only privately funded updates that *may* not be available. Note that in the Apple case their modifications to Mach and BSD are made available to the public.

  55. Re:Can modify GPL'd code, make money and *not* sha by richlv · · Score: 1

    the "privately funded updates" benefit from he original release way, way more than what they get (might) release back. an as the "release back" is so involuntary, pointing at the few cases of it happening makes it sound like some sort of charity. which it is not.
    humans are bad enough to feast on any opportunity. think of gpl as what capitalism is preached as - dealing and channeling basic human greed

    --
    Rich
  56. Success of open source depends on... by unixisc · · Score: 2

    The 'lack of interest' argument applies to both BSDL and GPL projects - go the the GNU software page - how many of those projects do you think are very actively pursued? In either case, the authors can die, and the archived copies, despite being 'free', can go offline. The only thing ensuring the success of any open sourced project is a combination of developer interest in developing them, and corporate interest in promoting them.

  57. Driver ABIs by unixisc · · Score: 1

    Having a common driver ABI simply means that if a driver is written for an OS once, it doesn't have to be recompiled again for different combinations of different versions of the kernel, the libraries and other variables that might be there. In other words, one driver written once to that ABI will work forever, since future versions of the OS are committed to it.

    In the FBSD family (dunno about NBSD or OBSD), not only do they have drivers, but they never change interfaces that they've had since day 1. As a result, people w/ past knowledge about BSD can pick it up from where they left off, and continue to build on that. And for drivers, if a driver works on one version of the OS, one can be sure that it will work on all future versions of the OS.

    This is normally true about Windows as well. Only exceptions - going from the Windows95 family of OSs to the NT family of OSs, the drivers would have been different. Similarly, while XP was based on win32, Vista and beyond were based on win64, which is why old XP drivers wouldn't work on Windows 7, and vice versa. But other than that, Windows too has a driver ABI, and so a driver written for Vista would work on Windows 7 or 8, a driver written for Windows 2000 would work on XP, and a driver written for Windows 95 would work on Windows 98 or Windows ME.

    1. Re:Driver ABIs by Anonymous Coward · · Score: 0

      You're hopelessly misinformed. Stop posting.

      FreeBSD has not had a perpetually stable driver ABI. That's ridiculous.

      FreeBSD attempt to maintain a stable ABI within a given major release. Most Linux distros do the same thing.

    2. Re:Driver ABIs by smash · · Score: 1

      As per the AC, you are hopelessly incorrect. There have been major ABI changes in BSD with major releases, changes between XP64 and Vista/7 x64, etc.

      And the fact that FreeBSD can support NDIS windows network card drivers also proves that providing compatibility for a driver ABI whilst making changes is possible via a software shim.

      So the whole "we'll be tied to an ABI forever!!" is complete and utter bollocks.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  58. GNU's not Unix by blackcat++ · · Score: 1

    It looks like GNU really isn't Unix anymore...

    1. Re:GNU's not Unix by Anonymous Coward · · Score: 0

      Or better put, Unix is not GNU anymore, since GNU tools will no longer be used to make Unix - at least FreeBSD or OS-X

  59. PCC by unixisc · · Score: 1

    I thought that that was just for a fork of OpenBSD - Bitrig. OpenBSD is still w/ PCC, the last I heard.

  60. Re:Your anti-GPL FUD is inaccurate and unconvincin by Anonymous Coward · · Score: 0

    Ideas can be appropriated and used to profit individuals whose values are antithetical to the intended purpose of a free software license. Some people don't care about that, some people do. Fortunately, we have licenses to cover both cases. Let's move on.

  61. Re:Can modify GPL'd code, make money and *not* sha by Anonymous Coward · · Score: 0

    The fact remains that modified BSD code used by Apple is given back. Other corporations do so as well.

    Have you done a code audit at apple to back that statement up?

  62. What kind of support for a video game? by tepples · · Score: 1

    free software (open source you mean?)

    Yes, I was referring to the Debian Free Software Guidelines, which are substantially identical to the OSI Open Source Definition.

    There are no "economic reasons" to not make a software open source.

    Say I work for a year developing a video game and I distribute it under the GNU General Public License, version 3 or later. Once I distribute one copy for a fee, someone else has every right to start distributing a copy of the binaries and source code for no fee, undercutting me and making sure that I distribute no more than one copy for a fee. So other than by distributing copies for a fee, what should I do to pay for my expenses incurred during development of the GPL video game, such as rent and food?

    I assume you know the difference between free (as in beer) and open source software and that you are free to charge whatever price you want, even for GPL software?

    Yes, I'm aware that software under an OSI approved license may be distributed for a fee. It's just that I don't see a way to convince a single entity to pay a large enough fee to cover all expenses before that entity starts distributing it to everyone else for no fee.

    See Redhat, they make enough money out of completely free software.

    Red Hat makes money on support contracts. What sort of "support" do you think users of a video game will need that's analogous to the support that Red Hat provides for its trademarked build of what non-customers call CentOS?

    1. Re:What kind of support for a video game? by devent · · Score: 1

      The same argument goes for pirating. Does copyright prevent anyone from pirating your game? Does DRM prevent anyone from pirating your game? You see it really does not matter whether your game is open source or not.

      It also really doesn't matter if you are demanding any money for your game or not.
      In the Humble Indie Bundle you don't have to give any money at all. How does it makes for you any economical sense? The first raised $1,270,000 totally, $166,000 in average for each developer. The last one raised $1.4M. Without DRM, so anyone is free to torrent the games without issues.

      Would it have mattered at all if the games were open source? Oh, the source code of some of the games were actually released! "Puppy Games has also released the source code for Revenge of the Titans[23] under a BSD-like license while reserving all rights to almost all game assets."

      With games it is really a simple issue: release the code under the GPL and release the art works under a CC Attribution (and non-commercial if you like). That way if someone like to sell your game he or she must create their own art work.

      Fact is that people pay money for good products. In "normal" economical sense the HIB would not make any money at all because people are selfish assholes that do not spend money if they are not forced to. So what went wrong? The products are good, they are not encumbered with DRM (which makes the games worse) and the delivery method is good: just download it with your browser.

      The HIB is not the only example. www.gog.com offers also DRM free games. They make good money as well and expand their catalogue to up-to-date and brand new releases.

      What sort of "support"

      Blizzard is making an truckload of money out of supporting games. Starcraft 2, WoW, Diablo 3.
      The same goes for every MMG (mass multiplayer game). Or just multi-player games.
      Offer new addons, improvements, new missions, new art works for your game.
      Sell T-shirts and tee-cups. Offer LAN-parties.

      It does costs you nothing to sell a copy of your game, so why do you expect people to pay good money for a copy?
      I don't know why any "copyright holder" (be it musician, artist, author, developer) is believing that just because they created something once in their lifetime they are now entitled to receive other people money for doing nothing. Your ass is really huge for all the gold dust blown into it by the current copyright and DRM laws.

      It's just that I don't see a way to convince a single entity to pay a large enough fee to cover all expenses before that entity starts distributing it to everyone else for no fee.

      Please give me one example. I never saw that happen before for any software.
      Why should somebody buy a product and then distribute it to others for free? It does not make any sense.
      For example, you are developing for me an accounting software. I pay for it, so why should I distribute it to other competitors for free?

      --
      http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    2. Re:What kind of support for a video game? by tepples · · Score: 1

      The same goes for every MMG (mass multiplayer game).

      MMOs are the only way I can see to offer support, but I don't see how to make MMO work in all genres, and people are still going to want to play games with zero bars of network signal.

      Or just multi-player games.

      How is a game played with 2 to 4 USB gamepads or 2 to 4 devices on a LAN any different in this sense from a single-player game?

      Offer new addons, improvements, new missions, new art works for your game.

      In other words, you're saying do it like Doom: GPL the engine, distribute only the first episode, and charge for mission WADs distributed under non-free terms. Or what am I misunderstanding?

      Offer LAN-parties.

      I don't understand how this works. Wouldn't that be expensive, requiring moving to a major-league city and leasing a lot of expensive major-city real estate?

      Why should somebody buy a product and then distribute it to others for free?

      That's exactly what the warez scene has always done.

      For example, you are developing for me an accounting software. I pay for it, so why should I distribute it to other competitors for free?

      Bespoke business software is different from video games. Unlike off-the-shelf software, bespoke software is priced high enough to cover the entire cost of development with the sale of only one copy.

    3. Re:What kind of support for a video game? by devent · · Score: 1

      A 32 LAN router does not costs much. A few work-stations or Bring Your Own Computer (BYOC) and locality is more then enough possibilities. Anyway that was only a few ideas with 5 minutes of though time. I'm sure a businessman like you can think of more ways to monetize your fan base.

      Do you think any of the major musicians like Rolling Stones, Beatles, Madonna, etc. became popular if they would just sell CDs? No, there was radio (which was free), there were copies from friends (also free) and concerts. Why should it be any different with computer games?

      That's exactly what the warez scene has always done.

      What does that have to do with anything? The warez scene does not care for your copyright or DRM. They don't care if your game is under the heaviest of EULA protected by SecureROM DRM or open source.

      --
      http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    4. Re:What kind of support for a video game? by tepples · · Score: 1

      No, there was radio (which was free), there were copies from friends (also free) and concerts. Why should it be any different with computer games?

      Radio's not free anymore; labels have to pay "independent promoters" to get recordings on the radio. Perhaps the closest thing to radio is distributing the first mission as a demo, and I agree that's a good idea. The closest thing to concerts that I can think of is arcades, and those appear to have mostly died in the West apart from games for small children that give tickets.

      What does that have to do with anything? The warez scene does not care for your copyright or DRM. They don't care if your game is under the heaviest of EULA protected by SecureROM DRM or open source.

      If a video game were released under a license for free software and free cultural works, then ordinary people would feel that they have the right to act like the warez groups: buy one copy and share it with everybody else.

  63. Re:Your anti-GPL FUD is inaccurate and unconvincin by Medievalist · · Score: 1

    The software is always free. What they do is not make their changes free, but the original is still free as ever.

    I take it you are not familiar with the 'gated' debacle, then. Sometimes reality is more complex than license ideology.

    But anyway, yes, what you've just described is exactly what the GPL is supposed to do. You can make any changes you want, and unless you start distributing or selling the changed version to others you have no obligation to ever disclose those changes, or publish your sources, and the original is of course as free as ever.

    I find it odd that you are accusing me of being a zealot considering what I was responding to; the original post said that I, as an author of GPL'ed software, was taking away people's freedoms which is arrant nonsense and personally offensive. I think I'm entitled to react strongly when someone libels me, don't you?

    As for infinity, I recommend to you David Foster Wallace's "Everything and More" - a difficult but wonderful book on that subject.

  64. Software ownership by unixisc · · Score: 1
    From that same essay, here is a nugget in the last but 3rd paragraph:

    As a computer user today, you may find yourself using a proprietary program. If your friend asks to make a copy, it would be wrong to refuse. Cooperation is more important than copyright.

    I never claimed he said anything about selling the hardware and giving the software away - someone else did. What he advocates is that if you write software, you do not own it, and if you sell it to somebody, that somebody has the right to give it away even if you forbid him not to. In short, he denies you any of the privileges you'd assume to have despite having created the software. Note that the GPL itself ain't that daft - even they recognize the right of creators, but RMS doesn't. He thinks that you should violate the terms of the license agreement under which it was sold, under his utopian dreams of a perfect society.

  65. Re:If you'd excuse my french... by cheesybagel · · Score: 1

    RMS himself has said the license doesn't matter if all you want is to compile code using GCC. The GPL doesn't forbid using a GPLed tool to create proprietary works. RMS only added the exception to placate the FUD you are repeating here. For more information try reading about the Electronics Arts Deluxe Paint case from several decades back when EA added a license clause to their paint program stating that all artwork created using the paint program was the property of EA. That didn't fly very well with the judge...

  66. *BSD is dying by Anonymous Coward · · Score: 0

    It is official; Netcraft confirms: *BSD is dying

    One more crippling bombshell hit the already beleaguered *BSD community when IDC confirmed that *BSD market share has dropped yet again, now down to less than a fraction of 1 percent of all servers. Coming on the heels of a recent Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as fittingly exemplified by failing dead last in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying. Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood.

    FreeBSD is the most endangered of them all, having lost 93% of its core developers. The sudden and unpleasant departures of long time FreeBSD developers Jordan Hubbard and Mike Smith only serve to underscore the point more clearly. There can no longer be any doubt: FreeBSD is dying.

    Let's keep to the facts and look at the numbers.

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that *BSD has steadily declined in market share. *BSD is very sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS dilettante dabblers. *BSD continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, *BSD is dead.

    Fact: *BSD is dying