Slashdot Mirror


Comparing Linux C and C++ Compilers

ChaoticCoyote writes "I've posted a comparison of recent GCC versions (3.3, 3.4, and the coming 4.0) with Intel C++ 8.1, including several benchmarks and "state-of-the-product" reviews. The new article replaces an older piece I published in late 2002. This new comparison marks what I hope will be an ongoing series that tracks the quality of Linux compilers."

7 of 379 comments (clear)

  1. Re:gcc! by Anonymous Coward · · Score: 5, Informative

    GCC has other things going for it, too.

    ProPolice stack smashing protection patches for one. (and many others besides.)

    And cross-platform compatability. I can compile for targets. Like working on embedded products.

    Oh, and Distcc for realy big projects to get compiled quickly using easy to setup clusters.

    It's "correctness" is pretty high up their, too.

    Remember, for Unix:
    compatability, portability, flexibility > speed.

    If all you ever have to worry about is x86, then it's not that big of a problem, but for anything else there is no comparision to GCC that I am aware of.

    That it having it free software rocks.

  2. Re:3.5 vs. 4.0 by kristofme · · Score: 5, Informative

    The current version of GCC is 3.4.2, and the next planned version will be called 4.0.0
    More info on the GCC site

  3. Re:gcc! by UnderScan · · Score: 5, Informative

    Nope, no troll.
    Icecream is created by SUSE and is based on ideas and code by distcc. Like distcc it takes compile jobs from your (KDE) build and distributes it to remote machines allowing a parallel build on several machines you've got. But unlike distcc Icecream uses a central server that schedules the compile jobs to the fastest free server and is as this dynamic. This advantage pays off mostly for shared computers, if you're the only user on x machines, you have full control over them anyway.

  4. Re:Vectorization? by ChaoticCoyote · · Score: 5, Informative

    GCC 4.0 (which is, of course, "in development") has recently included automatic vectorization -- another of the "good things" that will be coming with the new architecture.

    My next article will compare automatic vectorization and profiled optimizations.

  5. Re:3.5 vs. 4.0 by ChaoticCoyote · · Score: 5, Informative

    The GCC Steering Committee changed the next version of GCC from 3.5 to 4.0 while I was in the midst of writing the article. I missed changing a reference; the typo is now fixed.

  6. Re:illogical hostility? by JoeBuck · · Score: 5, Informative

    The complainers can't read. I'm a member of the GCC steering committee, and I'm very happy with Scott's work (sorry, dude, I'm not going to call you "ChaoticCoyote"). It's not perfect, but it has helped to improve GCC.

  7. Re:gcc! by ken_i_m · · Score: 5, Informative

    The gcc is not a linux compiler. The g stands for Gnu. The linux kernel and the systems built around it are most often compiled with the gcc. The gcc existed long before Linus's first kernel release.
    --
    ken_i_m
    Founder, Bozeman Linux User Group