Slashdot Mirror


Intel Releases Compiler Suite 7.0

Yokaze writes "Intel boosts its Pentium 4 and Itanium 2 and released Version 7 of its compiler suite. On the Windows side, there is the plugin compability to the .NET enviroment, on the Linux side better compability to the GNU compiler, including the Common C++ ABI.
As usual, there are 30-days evaluation copies and for Linux an unsupported non-commercial version after previous registration at the Intel Evaluation Centre. According to the comments published by Intel marketing, Dr. Fons Rademakers, CERN, claims high compability with GCC 3.2 and a performance increase of up to 30% on their code (The ROOT System)."

18 of 47 comments (clear)

  1. Well... by bic2k · · Score: 3, Informative

    I just downloaded the new intel compiler for windows. Tested it with a opengl application I made that runs really slow. The difference between the microsoft c++ compiler and the intel one is about 15%. Not quite 30%, but that probably applies to particular situations...

    --
    --- its to bad about the monkey, I kinda liked them
  2. Re:Doubtful by jericho4.0 · · Score: 4, Interesting

    As I understand it, Intels compilers kisk ass. Faster compilations, faster code, smaller code, etc. Not to knok a great product in GCC, but Intels engineers are no slouches.

    --
    "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  3. Gentoo support? by crow · · Score: 4, Interesting

    What would be really cool would be if a source distribution like Gentoo would support this in addition to gcc. Perhaps they could set it up to first try building with the Intel compiler, and if any errors show up, then try with gcc. It would certainly be interesting to see how well such a system would run.

    1. Re:Gentoo support? by GreyWolf3000 · · Score: 4, Informative

      It's not in CVS yet (server down, other issues), but Linux from Scratch builds GCC 3.2.1 for most people out of the box with the same commands as 3.2. Also, many have reported that they have built LFS with glibc 2.3.1, and have experienced huge speed increases. I know a few on the IRC channels who have successfully built glibc 2.3.1 with no changes to the commands used in LFS 4.0. Note that GCC 3.2.1 is required for glibc 2.3.1.

      --
      Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    2. Re:Gentoo support? by GreyWolf3000 · · Score: 2

      Guys pay no attention to this, I meant to post it to the gcc 3.2.1 release article. Sorry for the mess up.

      --
      Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    3. Re:Gentoo support? by photon317 · · Score: 4, Informative


      Gentoo has a package for icc, as well as gcc. BTW they had a working autobuild for gcc 3.2.1 two days before the slashdot announcement of the release :)

      --
      11*43+456^2
    4. Re:Gentoo support? by Ed+Avis · · Score: 2

      And they could have the Watcom and Borland compilers too... ideally a single front end 'cc' with common command-line flags which can run any of the four compilers. I think that Watcom is now free software, so it might be a better choice than Intel's compiler if not quite as fast.

      --
      -- Ed Avis ed@membled.com
  4. Re:Doubtful by JohnFluxx · · Score: 2

    Just a really quick note that they aim for slightly different goals. GCC is cross-platform etc, and icc isn't.

  5. Intel's Linux compiler with Debian by benjamindees · · Score: 5, Interesting
    I just finished reading this interesting thread on the Debian developers' mailing list. They discuss all aspects of the Intel compiler, including AMD support, possibly adding packages to Debian non-free, and (most interestingly) using icc to compile Debian binaries for distribution.

    There are several speculative "requests" for a donation of a license to Debian for this purpose as well as a plea to Intel to release the suite in .deb format instead of just RPM. All in all it was an interesting read.

    --
    "I assumed blithely that there were no elves out there in the darkness"
  6. AMD by Per+Wigren · · Score: 4, Interesting

    How much faster will it be on AMD processors then?

    --
    My other account has a 3-digit UID.
    1. Re:AMD by Overand · · Score: 2, Funny

      So fast that your AMD chip overheats and you get pissed off and buy a P4...

  7. Building the kernel with it by SweenyTod · · Score: 3, Interesting

    Is GCC still the only compiler that can build the linux kernel sucessfully?

    --
    Alas gallinaceas de urbe bovis volo
    1. Re:Building the kernel with it by Ryu2 · · Score: 4, Informative

      It's doubtful that compiling any OS kernel with Intel's compiler will result in significant speed increases. Most architectural optimizations that the Intel compilers make that gcc doesn't lie in the area of SIMD instructions, and instruction scheduling to maximize pipelining, parallelism, etc. It will be very useful in areas such as graphics, multimedia, other heavy-duty computation, and the like, but not in a general purpose OS, where the instructions are mainly loads and stores of data.

      --
      There's 10 types of people in this world, those who understand binary and those who don't.
    2. Re:Building the kernel with it by Eil · · Score: 2


      Er, in all fairness the question had little to do with performance. He simply asked if the Linux kernel even *could* be compiled with anything but GCC. I believe the answer is still a very flat "no."

  8. Re:Doubtful by selectspec · · Score: 4, Insightful

    gcc in some areas produces slower code than the native compilers.

    The fact is that gcc is designed for cross platform compilation and the native compilers are not. The abstract tree approach to gcc's design is somewhat limiting for some arch specific operations, and certainly adds complexity to the compiler development process.

    Also, Intel and Sun have spent many millions of dollars on their compilers over the years. You get what you pay for.

    However, I would hesistate to use the intel or sun compiler for a project.

    Using a platform specific compiler ties your project down to a single architecture, defeating one of the major purposes of C/C++.

    A far better approach, if practical, is to isolate the real performance sucking areas (encryption, xor routines, float ops, etc), and write these sections in assembly. Those sections will become platform specific, but will smoke any compiler output.

    --

    Someone you trust is one of us.

  9. Re:Doubtful by mcbevin · · Score: 2, Insightful
    A far better approach, if practical, is to isolate the real performance sucking areas (encryption, xor routines, float ops, etc), and write these sections in assembly. Those sections will become platform specific, but will smoke any compiler output.


    I use the Intel compiler on Linux. The program I work on when compiled with it runs around 50% faster than gcc. But in general, use whatever suits your particular needs, and just make sure you use standard C/C++ and it'll still be compatible. If you're not sure, check occasionally that it still compiles with other compilers.

    Personally theres no way I'd go near assembly. That pretty much guarantees unmaintainability, unreadability, platform-dependance. I don't know how many hours I've had to waste working out what someone else's assembly is doing, converting it to readable C, and then having understood what its doing, optimised the C algorithm to make it faster than the assembler ever was.

    I've also used the Intel Compiler's Intrinsics to MMX-optimise my code without a line of assembler. I've tested the code to be just as fast as hand-coded assembly equivalents. I also always create an identical pure-C/C++ function, so its clear exactly what is being done, and can still be compiled on other compilers/platforms. This is necessary in any case so that the code will run on non-mmx (pre P-III) systems.

    I'm looking forward to testing the version 7.0 Intel compiler - my experience with version 6.0 was that it made programs faster than gcc but still slower (and a lot bigger) than Visual Studio .net. If 7.0's better I might be able to leave Microsoft behind :).

  10. Re:I would like to use it... by Anonymous+Brave+Guy · · Score: 2

    ...if it's a better product than the alternatives. But hey, I make my living doing this stuff, so maybe I can't afford to prefer OS as a requirement over performance, stability and other such trivia.

    Frankly, I couldn't give a **** if it's OS or not, because I'm never going to have time to read all the source and make sure I agree with it. I bet you aren't either. However, rather than assuming that anything closed source will be worse than the OS competition, I'm prepared to take a look at how it performs, evaluate it using meaningful criteria, and base my choices on the results.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  11. Re:I would like to use it... by Anonymous+Brave+Guy · · Score: 2
    The advantage of open source is not only that you can read the code, but that anybody can.

    But how is that, in itself, an advantage? If I buy a closed source product, I'm trusting that the developers have spent time looking over it to weed out any gremlins. With an open source product, unless I'm going to do it myself (which is rarely going to be the case) I'm trusting to others to do it then instead, and this time, the others are mostly volunteers in the same position as me already.

    Because of this, you can be somewhat more sure that development will continue for at least as long as you need it.

    I'm sorry, but I fail to see how that follows at all.

    I don't think that open source proponents automatically assume that a closed source alternative is worse in every way.

    Are you new around here? ;-)

    Seriously, I realise that open source potentially has many advantages. I was just responding to yet another slashbot post by someone who seems to think that OS => better and closed source => worse, and is apparently prepared to rule out what might be an excellent software product just because it's closed source.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.