Slashdot Mirror


LLVM 3.5 Brings C++1y Improvements, Unified 64-bit ARM Backend

An anonymous reader writes: LLVM 3.5 along with Clang 3.5 are now available for download. LLVM 3.5 offers many compiler advancements including a unified 64-bit ARM back-end from the merging of the Apple and community AArch64 back-ends, C++1y/C++1z language additions, self-hosting support of Clang on SPARC64, and various other compiler improvements.

56 of 99 comments (clear)

  1. Oh good. by i+kan+reed · · Score: 2, Insightful

    It's one of those summaries.

    You know "update on [OSS product]"

    Why would we, the general populace of readers, want a very short summary of what this OSS product does, when we can have unclear references to the changelog?
    Why would we want a link to the homepage with more information, when we can have 2 links that also are essentially changelogs, and one direct download?

    If it's not the Linux Kernel, Firefox, or Chrome, please stop assuming everyone knows what it is.

    1. Re:Oh good. by Anonymous Coward · · Score: 1

      But it's LLVM 3.5 along with Clang 3.5! And it unifies the Apple and AArch64 backends along with C++1y/C++1z additions! It's self-explanatory, surely?

    2. Re:Oh good. by jandrese · · Score: 1

      Man, if only there were some way to look up information you don't know. Some service you could type a clearly easy to search for string like "llvm" into to get as much information on the topic as you need...

      Are you reading Slashdot in print form in some place with no internet access? Do you have to call your secretary so she can type out the comments on a punched card to feed into the internetotron?

      --

      I read the internet for the articles.
    3. Re:Oh good. by i+kan+reed · · Score: 2, Insightful

      How about, fuck you, you could just look up LLVM anytime you wanted news about it. Why come to slashdot for that? See how stupid that "resources exist" argument is?

      Decent journalism isn't hard, and I don't feel that basic fucking context is too much to ask of a summary.

    4. Re:Oh good. by Anonymous Coward · · Score: 2, Informative

      "because its a piece of non-copyleft-you-can-make-me-proprietary-any-day shitty pile of today-you-can-read-my-src-tomorrow-you-get-an-eula crap"

      That makes it more useful, not less. That means it can be the basis for commercial products. People will buy stuff because of LLVM. People will get paid because of LLVM. Maybe you. Do you want to make ideologically pure software, or do you want a roof over your head and food to eat? Are you utopian or realist?

      And also, you're flat out wrong. If LLVM version 8.0 comes with a EULA that says you can't use it for anything without paying Apple, then you can still fork the BSD-licensed source code for version 7.9 and use that. I'd bet the forked version will be more widely used than the closed version.

    5. Re: Oh good. by Anonymous Coward · · Score: 1

      It's the new gcc. Any questions?

    6. Re:Oh good. by Anonymous Coward · · Score: 1

      I miss the good old days when it was just geeks that would understand the story posting on Slashdot. Now we have to put up with posers.

    7. Re:Oh good. by Anonymous Coward · · Score: 1

      Hitler paid people, too.

      If one met his requirements and followed his rules. He was kind of like the GPL, fit into a narrow set of rules that are designed to create a better society in his/their opinion or else.

    8. Re:Oh good. by Drishmung · · Score: 1

      Well, that didn't take long.

      --
      Protoplasm. Quiet Protoplasm. I like quiet protoplasm.
    9. Re:Oh good. by Bill_the_Engineer · · Score: 1

      It is not out of the question for Slashdot submissions to expect their target audience to know about LLVM and Clang. If you didn't then you weren't the target audience.

      It would be like me having to write "Obama (the current US president)..." in a Democratic Party Newsletter or "Alabama (a US State)..." on an American news site.

      Do we have to explain what a "Tesla Model S" or a "Ford Escort" is to the reader? No, because they been around long enough that it can be expected that most of the audience will know about them. LLVM and Clang fall in the same category for the audience of this site.

      Instead of reading the article or looking it up on Google, you decided the best thing to do was whine about it. It seemed like a counter-productive move since there are other stories you could have read and commented on.

      Maybe you'll find CNet, USA Today, or Highlights for Children more acceptable.

      --
      These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
    10. Re:Oh good. by i+kan+reed · · Score: 1

      Right... let's take that a bit of a different direction, and instead of the US president, talk about, say, the minority whip and see how well your analogy holds up.

    11. Re:Oh good. by armanox · · Score: 1

      On the contrary, it is open source. And it provides competition for GCC. Competition is good - it will cause the GNU team to have to improve their compiler. LLVM also gives those of us that don't like GCC a free alternative to use (though I doubt it'll ever support my platform of choice).

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    12. Re:Oh good. by Threni · · Score: 1

      It would be a good analogy if you were talking about, say, a site which was targeted at - and largely read by - people interested in political issues.

      It's perfectly reasonably to understand that the majority of Slashdot users either know what Clang/LLVM is, or are willing and capable of looking them up. Clearly, if you've not idea what Clang is, then you're going to skate on over the headline to the next stor, just like I did when I saw the headline about giving cyborgs rights.

    13. Re:Oh good. by BitZtream · · Score: 1

      though I doubt it'll ever support my platform of choice

      Really? What platform would you be referring too, I'm genuinely curious.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    14. Re:Oh good. by BitZtream · · Score: 1

      His analogy holds up pretty much perfectly.

      I would expect someone who reads the Democratic Party Newsletter to know who the majority whip is, but not really anyone else. Pretty much just like anyone on slashdot who isn't new should have hard of llvm and clang. Its a fairly common talking point for slashdot stories and comments.

      If you don't know what LLVM and clang are, slashdot really isn't someplace you should visit frequently unless you willing to learn what they are.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    15. Re:Oh good. by perpenso · · Score: 1

      though I doubt it'll ever support my platform of choice

      Really? What platform would you be referring too, I'm genuinely curious.

      My understanding is that LLVM is skipping various "legacy" platforms. 16-bit x86 came to mind but when I googled it I found that Intel is actually working on 16-bit x86 support. Some boot loaders and emulators apparently use 16-bit code.

      I was going to make a snarky Z80 comment but when reading the 16-bit Intel thread I found another potential snarker discovered that a Z80 backend for LLVM exists.

      Where the LLVM devs may have no interest it seems the legacy communities or other parties may step in.

      While there is no technical reason not to use LLVM I expect it won't be very popular with the GNU Hurd users.

    16. Re:Oh good. by i+kan+reed · · Score: 1

      Sorry, but democratic-party-news-letter::slashdot isn't an analogy that holds up. More like WashingtonPost::slashdot.

      (And democratic party newsletters would totally mention the name of the whip, you're totally crazy)

    17. Re:Oh good. by i+kan+reed · · Score: 1

      Oh look. A moron hating newspapers.

      That's new.

    18. Re:Oh good. by armanox · · Score: 1

      irix64-mips4. It's sorta my understanding that they are going with "if it works, great, but we're not going out of our way to make it work" attitude. I'm going to give it a test to see if it works, since GCC dropped IRIX.

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    19. Re:Oh good. by ConceptJunkie · · Score: 1

      > Maybe you'll find CNet, USA Today, or Highlights for Children more acceptable.

      And you're expecting him to know who Goofus and Gallant are?!

      --
      You are in a maze of twisty little passages, all alike.
  2. nerds? by Bloke+down+the+pub · · Score: 1

    Nerds are not interested in champagne & handbags. Get ye to idle!

    --
    It's true I tell you, feller at work's next door neighbour read it in the paper.
  3. Wrong release note links; here's the right one by Guy+Harris · · Score: 4, Informative

    The article pointed to the very very very very very incomplete release notes for stuff after 3.5.

    You wanted to link to the 3.5 release notes.

    1. Re:Wrong release note links; here's the right one by jandrese · · Score: 1

      Where are the CLang release notes? They are not where I expect them to be. I was really hoping they've implemented C11's _atomic keyword, but I have my doubts.

      --

      I read the internet for the articles.
    2. Re:Wrong release note links; here's the right one by fnj · · Score: 1

      Yeah, somebody please PLEASE track them down. Frankly LLVM itself is boring (don't hit me). The clang part is where the interesting stuff is. Why in hell doesn't somebody fix that miserable horror of a website?

      Look at this fucking page. As I write this the title says "Clang 3.5 (In-Progress) Release Notes - Clang 3.6 documentation". The top heading says "Clang 3.6 documentation". The level 2 subheading says "Clang 3.5 (In-Progress) Release Notes". The level 3 heading says "Clang 3.5 (In-Progress) Release Notes". And the virtually empty content clearly relates to day 1 of the development of 3.6. Psst - nobody CARES about 3.6 on the day 3.5 is released. Meanwhile (again, as I write this) there is not a single occurrence of "3.5" on this other page on clang C++ compliance.

      I. Kid. You. Not.

      I wouldn't ride them this hard, but that page has been borked in that general fashion for months, if not YEARS. I know this documentation stuff is anathema to the guys doing the real programming work, but they should delegate at least ONE guy whose only job is documentation and the website.

    3. Re:Wrong release note links; here's the right one by fnj · · Score: 1

      OK, I think I found it - by downloading the clang source, opening the release notes file in the archive, and doing a google search for the exact phrase.

      Hope this helps. It's actually great quality work, if they only made it possible to FIND it on the website.

    4. Re:Wrong release note links; here's the right one by flargleblarg · · Score: 1

      Thank you for finding that!

  4. Is there any point continuing GCC's development? by Anonymous Coward · · Score: 2, Insightful

    I've been using LLVM and Clang a lot lately. They're an exceptionally good compiler system. The more I use it, the more I ask myself, Is there even any point continuing the development of GCC?

    All software projects come to an end eventually. Something better comes along, and those who can't compete are better off giving up. I think that GCC has entered that phase, now that we have LLVM and Clang available to us.

    LLVM and Clang have a better code base, a freer license, better runtime performance, better corporate support (probably because of the freer license), are proven to work well on major platforms like OS X and FreeBSD 10, and are starting to offer superb code optimization.

    The only things GCC has in its favor are that it's entrenched, and that it supports some rarely-used languages and platforms that LLVM and Clang don't support. Neither of those is particularly impressive these days. People using Ada and Fortran use the better commercial compilers out there, not GCC. People using GCC on 1990s-era embedded systems are pretty much using a limited subset of C.

    I don't even think that LLVM and Clang need the "competition" that GCC barely brings. The backers and developers of LLVM and Clang are motivated on their own to continually improve their product.

    So I think GCC has started to outlive its usefulness. It may have been a trailblazer back in its heyday, but it's old hat now. There's really no need to continue developing it. LLVM and Clang are the future. GCC is a relic from the 1980s and 1990s.

  5. Lies by Tailhook · · Score: 2, Funny

    Apple didn't contribute any work to LLVM/clang because LLVM/clang are licensed with U of I's BSD-ish and, as we all know, corporate capitalist pig-dogs will not contribute if they're not forced to by license requirements.

    Can't believe anything you read on Slashdot these days.

    --
    Maw! Fire up the karma burner!
    1. Re:Lies by Anonymous Coward · · Score: 1

      But Apple did use the hard work of open source developers to subsidize a closed platform of user and developer hostile products. When companies want to exploit their customers to the fullest they should not be able to benefit from the efforts of open source developers, they should have to hire developers and write their own code from scratch. All BSD licensing accomplishes is the depression of wages paid to developers. GPL licensing makes up for the depression of wages by creating a better world.

  6. Retarded and wrong comment by mveloso · · Score: 1

    Maybe if you had read the release notes you wouldn't have posted such a retarded comment. Oh, and large chunks of the llvm/clang team work at Apple.

    "During the 3.5 release cycle, Apple released the source used to generate 64-bit ARM programs on iOS platforms. This took the form of a separate backend that had been developed in parallel to, and largely isolation from, the existing code.

    We decided that maintaining the two backends indefinitely was not an option, since their features almost entirely overlapped. However, the implementation details in both were different enough that any merge had to firmly start with one backend as the core and cherry-pick the best features and optimisations from the other.

    After discussion, we decided to start with the Apple backend (called ARM64 at the time) since it was older, more thoroughly tested in production use, and had fewer idiosyncracies in the implementation details.

    Many people from across the community worked throughout April and May to ensure that this merge destination had all the features we wanted, from both sources. In many cases we could simply copy code across; others needed heavy modification for the new host; in the most worthwhile, we looked at both implementations and combined the best features of each in an entirely new way.

    We had also decided that the name of the combined backend should be AArch64, following ARM’s official documentation. So, at the end of May the old AArch64 directory was removed, and ARM64 renamed into its place.
    "

    1. Re:Retarded and wrong comment by caseih · · Score: 2

      Oh dear. I guess your browser doesn't render the humor or sarcasm tags properly. The parent comment was intended to be snarky humor poking fun at those of us who think the gpl is a good idea. Whether or not it was actually funny is debatable of course.

    2. Re:Retarded and wrong comment by sessamoid · · Score: 1

      Oh dear. I guess your browser doesn't render the humor or sarcasm tags properly. The parent comment was intended to be snarky humor poking fun at those of us who think the gpl is a good idea. Whether or not it was actually funny is debatable of course.

      With a user number about the same as mine, you have spent enough time on the internet to realize that sarcasm generally doesn't communicate well through plain text. No matter how outlandish and stupid you think your sarcasm sounds, I guarantee you that there is a significantly non-zero number of people on the same forum who are actually stupid enough to post in earnest what you posted sarcastically. So you shouldn't be surprised when people take your sarcasm as stupidity in earnest.

      --
      "No, no, no. Don't tug on that. You never know what it might be attached to."
  7. The FSF/GNU folks overreached with GPL v3 ... by Anonymous Coward · · Score: 1, Interesting

    The FSF/GNU folks overreached with GPL v3. They overestimated their importance, pushed a little too hard, and get spanked by Darwin. Both the scientist and the kernel.

    Gcc being displaced was bound to happen. When politics guide engineering the long term is doubtful.

    1. Re:The FSF/GNU folks overreached with GPL v3 ... by Ash+Vince · · Score: 2, Interesting

      The FSF/GNU folks overreached with GPL v3. They overestimated their importance, pushed a little too hard, and get spanked by Darwin. Both the scientist and the kernel.

      Gcc being displaced was bound to happen. When politics guide engineering the long term is doubtful.

      Unfortunately this is a pretty spot on assessment of the situation in my mind.

      Ok, It was annoying that companies were starting to find ways to use OS technology as center pieces in their products and not opening all of their source code to let people tinker with it. The problem their though is that in some cases if they did that then they would reveal too much about things like the underlying hardware that might be under NDA's forced upon them by other companies

      Given enough time this sort of problem might have solved itself as companies slowly moved away from doing business in this way and embracing ideas that ultimately gave them long term benefit (ie: free code), but the GPL3 seemed a crude attempt to force too much change too quickly on business executives who have too much to lose, so are by that point in their careers too conservative.

      --
      I dont read /. to RTFA, I read /. to offend people in ignorance.
    2. Re:The FSF/GNU folks overreached with GPL v3 ... by Grant_Watson · · Score: 2

      I don't follow the compilers very closely, so my recollection may be fuzzy, but I think this is what the grandparent was getting at:

      In the past some people have proposed giving GCC a clear, serializable intermediate code so that one could use GCC front ends and back ends independently of the rest of GCC. The leadership viewed this as an end run around the GPL, because whatever produced or consumed this intermediate code would not need to link to the invoked portions of GCC. Tight coupling between the front ends and back ends was therefore treated as something to be encouraged for licensing reasons.

      LLVM's design by contrast centers around its bytecode. Since it has a BSD-like license the question of whether you link to the compiler's code or fork/exec it is unimportant.

      Since the emergence of LLVM, it's my understanding that the GCC leadership have softened their views -- the alternative to invoking GCC in a separate process is now to use LLVM, rather than to link to GCC and release one's source code; thus purely technical concerns can determine the design of GCC also.

  8. Is there any point continuing GCC's development? by Anonymous Coward · · Score: 5, Insightful

    rarely-used languages and platforms

    Rarely-used platforms? Tell that to all the people developing for various embedded platforms like AVR which LLVM doesn't support. Those aren't rarely used.

  9. The bigger joke: by Anonymous Coward · · Score: 1

    Go read gpl-violations.org's mailing list.

    At least 3/4s of *EVERYBODY* are violating the GPL and not releasing source code. And we're not talking small companies either. Mediatek, Allwinner, TomTom, Renault (via TomTom derived systems), Zyxel, etc.

    The real solution to this whole shitfest is either to start enforcing criminal copyright law vigorously against everyone, let the rich abuse the 'lower' classes, or simply abolish copyright law and let it turn into a free for all. If nobody is going to obey the rule of law (And give that both corporations and the government seem to be flagrantly violating it while demanding laws beneficial to them be enforced vigorously), then there's no point in rule of law existing, in which case we should go back to rule by force or rule by mob, which isn't far from the way things are being treated nowadays.

  10. Re:Is there any point continuing GCC's development by boristhespider · · Score: 1

    Actually I still use gcc for gfortran - I can't personally afford to use the commercial license, and I have code I want to maintain and develop in Fortran. But on Windows I develop C++ in either MSVC, due chiefly to the fact I like its debugger better than any other I've worked with, or in Clang, and on Linux I develop C++ in Clang. I'm glad gcc is there but my default these days is certainly Clang.

  11. Re:Is there any point continuing GCC's development by Anonymous Coward · · Score: 5, Informative

    Better corporate support? I might have missed it, but e.g. Intel, Google, ARM, AMD, etc. are still also making significant contributions to GCC.

    Better runtime performance? Have you even read the Phoronix article?

    People using Ada and Fortran using the better compilers out there... Eh... GNU Ada is *the* Ada compiler standard, and GNU Fortran is widely used even in high-performance computing because the commercial compilers aren't really better at all (and generally more buggy).

    Go do your home work.

  12. Re:Is there any point continuing GCC's development by boristhespider · · Score: 1, Interesting

    "GNU Fortran is widely used even in high-performance computing because the commercial compilers aren't really better at all (and generally more buggy)."

    While I've certainly encountered (and notified Intel of) bugs in ifort, and more than I'd expect in something that cost the university a pretty parcel of money, I wouldn't even begin to pretend that gfortran is as good for high-performance computing as ifort. Unless you're triggering an ifort bug, and I haven't hit a genuinely serious one since a weird memory cap back in 2005, or using ifort on some esoteric architecture, you are *never* getting better performance out of gfortran optimised code compared to ifort optimised code. They may be equivalent for a lot of operations, but for others ifort is simply a lot better, particularly when tuned to a particular Intel chipset. I use gfortran a lot and I don't have any serious complaints about its optimisation, but ifort's is better.

  13. Re:Is there any point continuing GCC's development by Eravnrekaree · · Score: 4, Insightful

    GCC's support for Fortran and Ada make it valuable, the point is the need for an open source compiler so when your requirement is open source a commercial compiler wont do. Many assiduously avoid closed source software and want to be able to have the facility for ada and fortran. Many "infrequently used" platforms are more important than you think, such as the system Z platform from IBM.

  14. Re: Is there any point continuing GCC's developmen by Bengie · · Score: 1

    The GCC team is merging with LLVM. Even they think GCC is hopeless in the long run.

  15. Firefox and LLVM by tepples · · Score: 1

    The Mozilla Firefox web browser is the open-source successor to Netscape Navigator. (In fact, Netscape Navigator has been built with the same Gecko engine that powers Firefox since Netscape 6.) And the Firefox developers are doing interesting things with LLVM, such as static analysis and the ASan bounds checker.

  16. Re:Is there any point continuing GCC's development by tlhIngan · · Score: 1

    The more I use it, the more I ask myself, Is there even any point continuing the development of GCC?

    Well, the "advantage" of GCC is it's GPL. To a large number of FOSS people, the GPL is a far better license than BSD, so it doesn't matter if LLVM/CLang is better, superior or whatever, GCC is GPL and that is all that matters.

    Also, there's a lot of GCC-isms out there in the code, many of which are not supported by LLVM/Clang or other compilers and they often do strange things so porting them to use another compiler is often difficult.

    And GCC supports far more backends and languages, so it still has a place.

    Of course, LLVM/Clang is progressing quickly because of extensive corporate support (being BSD licensed versus GPLv3), and projects like Free/Net/OpenBSD love the fact that the entire base OS can be BSD licensed now rather than having to rely on a non-BSD component.

  17. What's all the fuss about? by IllForgetMyNickSoonA · · Score: 2

    What's the LLVM / clang fuss about anyway? I keep hearing about LLVM for years already, it's presented by its' supporters (of which many have never actually even tried it out, I bet!) as "The Solution To All (alleged) GCC Problems", but it somehow fails to replace the GCC as an omnipresent compilation system.

    Until there is not a single Linux distribuition out there compiled with LLVM / clang, and there still is none, it will just not cut it.

    Besides, as the Phoronix article shows, it's also not on-par performance-wise.

    I'd love to move to a compiler with better / more understandable errors and warnings, especially for C++, and which compiles faster - but until the code does not execute at the same speed (and it seems it mostly lags behind GCC), and until it is not integrated into the system adequately (read: LLVM-based distribution), I do not see the point in switching.

    1. Re: What's all the fuss about? by IllForgetMyNickSoonA · · Score: 2

      Replying (again) to my own post, just found out that llvm supports only DWARF3 debugging imformation, while gcc is on a DWARF4. One more reason to wonder about where the llvm buzz comes from.

    2. Re:What's all the fuss about? by KiloByte · · Score: 2

      With compilers, what counts is the speed of compiled code rather than compilation speed, and here clang loses by quite a bit.

      Compilation speed really matters only in rapid compile-debug cycles, but there clang, despite winning on compile speed, is hindered by producing worse debug info.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    3. Re: What's all the fuss about? by IllForgetMyNickSoonA · · Score: 2

      I agree (except that I value compile time higher than you do, it seems, but clang doesn't seem to deliver THAT much in this area either), and that's why I can't do differently but wonder what the fuss is all about.

    4. Re:What's all the fuss about? by gnasher719 · · Score: 1

      With compilers, what counts is the speed of compiled code rather than compilation speed, and here clang loses by quite a bit.

      Says who? For the first statement, I haven't seen any code in the last few years where the difference between compiler optimisations would have made any difference. I haven't actually seen any code that needed any cleverness. I have seen code that needed stupidity removed, but nothing else.

      For the second statement, there is a benchmark that shows gcc to be better, and goes what, the gcc developers try their best to optimise for it, while everyone else ignores it. The results are predictable.

  18. Re:Is there any point continuing GCC's development by aaaaaaargh! · · Score: 1

    I'm using GNAT Ada with GCC, as practically all other Ada users. GNAT is the only Ada version that implements the latest language features of Ada 2012.

    Adacore alone is reason enough to continue developing GCC. The commercial version of GNAT uses GCC and is used in production systems like airplanes you fly with.

  19. What's all the fuss about? by IllForgetMyNickSoonA · · Score: 1

    Instead of only talking out of my a$$, I just compiled a small QT project of mine (8333 LOC, spread over 60 files (including auto generated moc files), lines counted with "wc -l"), with gcc 4.8.2 and with clang 3.5 (these are per default available on Ubuntu 14.04), and it seems that the compilation times are nearly identical:

    CLANG:

    real 0m26.100s
    user 0m24.815s
    sys 0m1.208s


    GCC:

    real 0m27.936s
    user 0m26.715s
    sys 0m1.755s


    All files (including compilers, libraries and includes) are on an SSD. Difference of 2 seconds or some 7%. Not exactly to be ignored, but not enough to make me smile either. At least I didn't have to change much to get it to compile, except replacing 1.0d with (double)1.0.

  20. Re:Is there any point continuing GCC's development by IllForgetMyNickSoonA · · Score: 1

    Actually, it seems that Phoronix tests are the best available around - at least a quick search didn't reveal any further recent tests. Besides, that's what TFA links to.

    If you wish to imply that Phoronix tests are somehow skewed in favour of GCC, why don't you provide a link to tests claiming otherwise?

  21. Everything a nerd could want by Anonymous Coward · · Score: 1

    Slashdot has everything a nerd could want

    Apart from two things: Editors and Journalism.

  22. Re:Is there any point continuing GCC's development by Anonymous Coward · · Score: 1

    Here's how I measure it:

    1. I pick a certain part of the compiler, or a certain piece of functionality. Let's say the handling of C++'s throw() specifier, as an example.

    2. I find the LLVM/Clang code for handling that functionality. It's easy to find, and then it's easy to follow. The code is clear, concise, and well structured.

    3. I try to find the GCC code for handling that functionality. It's hard to find, and even once it's found it's hard to follow. The code is unclear, and usually not very well structured.

    4. Repeat the above steps for other compiler or language functionality, noticing that it's always much easier to find and follow LLVM/Clang's code than it is to follow GCC's.

    I've been using C on nearly a daily basis in industry for over 25 years now. I've been using C++ almost daily for over 20 years. I've seen a lot of code in both languages, and I've written a lot of code in both languages. I can tell you for a fact that LLVM/Clang's code is very clean, especially for a project of its size and complexity. GCC's code, on the other hand, is not very maintainable at all. Hell, this is probably why we've seen LLVM/Clang advance so quickly and even pass GCC in most ways, while GCC is struggling to remain relevant.

  23. What's all the fuss about? by Anonymous Coward · · Score: 1

    It's getting common to develop C++ with Clang, then distribute with GCC.
    Though it's not huge in Linux camps, BSD is using Clang.

    LLVMLinux getting closer (similar performance, and very few patches needed, soon none):
    http://www.phoronix.com/scan.php?page=news_item&px=MTcxNDA
    and it compiles Debian's repos quite well too, with most problems being edge cases and standard differences.
    Distributions need this groundwork first.

  24. Re:Is there any point continuing GCC's development by Freultwah · · Score: 1

    No, my point is that there are quite a lot of articles re: GCC vs. Clang on Phoronix, and that the comparisons are quite a bit more thorough and the results more varied than the parent hinted at with his/her implied claim that ‘the’ Phoronix article proves how GCC runtime performance is better. I read another article (at http://www.phoronix.com/scan.p...), and though it’s half a year old, it still shows that the compilers can be neck to neck in one area, and that they beat one another in various tests. So neither can claim absolute superiority.