compilers (C/C++)

Sharky Forums


Results 1 to 3 of 3

Thread: compilers (C/C++)

  1. #1
    Catfish
    Join Date
    Sep 2000
    Location
    Durham, NC, USA
    Posts
    225

    Post compilers (C/C++)

    Here's a somewhat highly technical subject

    Does anyone know of good compilers for x86 linux? I'm doing some work which is quite intensive and the gnu gcc / g++ compilers just don't cut it. I know that if I had time to hand optimize (loop unrolling, ...) the assembly code the compiler creates I would achieve quite a performance gain. I'm by _no_ means an expert in compilers, but I thought we might be able to get an interesting thread going talking about compiler technology.

    -Bash

  2. #2
    Reef Shark
    Join Date
    Oct 2000
    Posts
    397

    Smile

    I'd be happy to talk about it with you. More information would be good. Yes, it's true that a good compiler can give you a good speed up. Using assembly can give a bit more. But generally a better algorithm is the way to go. You should be generally able to find a few spot areas in code that give significant performance increases.

    Originally posted by Bash:
    Here's a somewhat highly technical subject

    Does anyone know of good compilers for x86 linux? I'm doing some work which is quite intensive and the gnu gcc / g++ compilers just don't cut it. I know that if I had time to hand optimize (loop unrolling, ...) the assembly code the compiler creates I would achieve quite a performance gain. I'm by _no_ means an expert in compilers, but I thought we might be able to get an interesting thread going talking about compiler technology.

    -Bash

  3. #3
    Great White Shark Moridin's Avatar
    Join Date
    Sep 2000
    Posts
    5,351

    Post

    You might get better answers to this question in the programming forum.

    I think Intel's VTune compiler has a Linux version but VTune is not known for reliability and the Linux version would still be new. AFAIK most people working in Linux use gcc.

    ------------------
    Make it idiot proof and someone will make a better idiot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •