Announcement

Collapse
No announcement yet.

OpenMandriva Is Finding Great Success In Their Switch To Using LLVM's Clang Compiler

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    I'd just like to interject for a moment. What you’re referring to as Linux, is in fact, systemd/Linux, or as I’ve recently taken to calling it, systemd plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning systemd system made useful by the systemd binaries, audio server and vital system components comprising a full OS as defined by Lennart Poettering.

    Comment


    • #22
      Reading the article and related I find it interesting that for:
      * tiny compile perf increase (as per Michaels benchmarks)
      * Somewhat better error mesages (but, really GCC 8 stepped up a lot, the difference is getting smaller)
      * Can run git snapshots

      They have to:
      * run on git snapshots to get bugfixes
      * handle thousands of patches
      * many of those patches are disputed as having to work around deficiencies in llvm (which turns this into a political game)
      * and hundreds more packages in your backup compiler in any case
      * support less architectures, so in some arch you revert back to your old compiler.

      This is called "great success"…
      This made me pause.
      The only reason you would do this is I can think of is for money, academic or as part of a war on "justice".

      Yes, I get it GCC needed a kick in the butt to get moving, but, seriously, have you seen the constant improvements since gcc 4.6 onwards? I sure have.

      Comment


      • #23
        Originally posted by atomsymbol View Post
        Except for licensing, I don't understand why would a package builder permanently switch from GCC to Clang (or vice versa) for all packages. Neither of the two compilers dominates the other one.
        Well I am glad somebody is doing it, compiling packages with different compilers is good for source code health, and I am glad OpenMandriva is doing it, because I wouldnt want to pointlessly kick myself in the dick all the time, and prefer to watch them do it.

        Comment


        • #24
          Originally posted by Almindor View Post

          Can I take your stuff, put a header on top with my copyright and pretend I built it all? Oh wait, that's what Apple did...

          That's the reason people distruct BSD-alike licenses.
          BSD-style licensed code legally requires that you preserve the license, copyright headers and attribution when you republish the code.

          Comment


          • #25
            Originally posted by debianxfce View Post

            GCC is sponsored by https://www.fsf.org/

            LLVM is sponsored by http://llvm.org/foundation/sponsors.html
            That large sponsor list is the best thing to happen to LLVM and free software. The diversity in that client list prevented LLVM from becoming a one vendor solution. That wide spread support has also made LLVM the place to do research.

            Money rules and many people see that as a threat.
            So people supporting their families is a bad thing? I really don’t understand this attitude. This is especially frustrating in the sense of LLVM where it’s component based architecture allows focused exploitation of the code base.
            A compiler is a such thing that only companies who use it can provide good quality. When GCC is used by C-SKY Microsystems and Mentor Graphics the future of GCC does not look good.
            I’m not even sure what you mean here. The fact that many companies have embraced LLVM and its suite of tools has lead directly to the high quality of those tool. In fact I can’t think of any set of tools that has come as far as LLVM in the short time it has existed.

            To put it bluntly GCC has become a failure and needs to embrace a larger developer pool. Let’s face it the GCC team for the longest time was less receptive to change than many closed source projects. I highly doubt that GCC would’ve where it is today if it wasn’t for the competition that LLVM brought to open software.

            Friendly competition is a good thing.

            Comment


            • #26
              Originally posted by Almindor View Post
              Can I take your stuff, put a header on top with my copyright and pretend I built it all? Oh wait, that's what Apple did...

              That's the reason people distruct BSD-alike licenses.
              That's a direct violation of BSD license. That's literally the only fucking thing the BSD license forbids.

              How is that different from GPL or even proprietary.

              Comment


              • #27
                Originally posted by cybertraveler View Post

                It's not harassment to point out that GNU/Linux is the proper name for the desktop OS people often refer to as just "Linux". You don't even have to subscribe to the whole GNU / Free Software philosophy to decide to call it by its proper name. I'm not really into the whole GNU / GPL / Free Software stuff, but I recognise that I only have the GNU/Linux desktop I have today because of Stallman and the people who work with him to bring us a "fully free" UNIX-like OS.

                It makes sense to call it GNU/Linux purely for practical reasons.
                • The Google Pixel 3 phone runs Android which is not GNU/Linux. It just uses the Linux kernel.
                • The Purism Librem 5 phone runs PureOS which is GNU/Linux: the GNU OS with the Linux kernel.
                I'm not pushing an agenda or promoting GNU. I'm just stating the truth.

                I think people can think more clearly and thus operate more effectively when they are aligned with truth.
                But you aren’t stating the truth! Linux is Linux! What is included is another thing. Your argument makes about as much sense as calling MacOS, BSD UNIX!

                Now that doesn’t mean we should dismiss GNU for the tools they provide. By the way those tools are often functional copies of software found on old UNIX versions. Again that isn’t a bad thing but it highlights that slapping GNU on top of Linux isn’t exactly putting the best face on reality.

                Comment


                • #28
                  Originally posted by atomsymbol View Post
                  Except for licensing, I don't understand why would a package builder permanently switch from GCC to Clang (or vice versa) for all packages. Neither of the two compilers dominates the other one.
                  That is actually a good question. Since I’m not involved in the project I can only guess as to possible reasons. Some possibilities:


                  1. Better debugging and tools lead to catching more bugs. Simply using a different compiler can turn up questionable code.
                  2. There was a mention of compiler speed but I’m not sure the delta even exists anymore. There may still be advantages in the overall development cycle.
                  3. Faster code? This is debatable but I wouldn’t be surprised that modern libs help a lot here.
                  4. I’ve ever seen an issue being raised by the distro developers here that indicate an issue with licenses or even politics for that matter. They seem to be driven by a desire to build a better distro. Now given that I can see users caring not to have GCC and the encumbered libs as this reduces risk for developers.
                  5. Maybe they like the challenge or just being different! Either way these alternative distro just strengthen Linux by increased by the diversity of solutions.

                  Comment


                  • #29
                    Originally posted by Almindor View Post

                    Can I take your stuff, put a header on top with my copyright and pretend I built it all? Oh wait, that's what Apple did...

                    That's the reason people distruct BSD-alike licenses.
                    Obviously you don’t know what you are talking about here. If you care to look Apple has a file for every licensed bit of software they ship. It is a big file.

                    This is perhaps one one of the biggest problems I have with the GNU crowd and that is the use of out right lies to support their positions. Maybe they don’t like the idea that BSD is a freer license than GPL 3.

                    Comment


                    • #30
                      Originally posted by Almindor View Post

                      Can I take your stuff, put a header on top with my copyright and pretend I built it all? Oh wait, that's what Apple did...

                      That's the reason people distruct BSD-alike licenses.
                      When did Apple do this exactly?

                      Comment

                      Working...
                      X