Slashdot Mirror


Genetic Algorithms and Compiler Optimizations

mfago writes "Scott Robert Ladd has written an enlightening article and accompanying software package that utilizes genetic algorithms to optimize the optimization flags fed to a compiler. Those who have tried to squeeze the last drop of performance from a code know that it can be very difficult to determine the set of optimization flags beyond -O3 (with gcc for example) that yields the best performance. Lots of background links included in the article."

8 of 222 comments (clear)

  1. w00t by Anonymous Coward · · Score: -1, Troll

    w00t

  2. Get your fucking President by Anonymous Coward · · Score: -1, Troll

    and his legion of goons out of my country NOW!

  3. GENETIC ALGORYTHMS IS A GROSS MISNOMER by Anonymous Coward · · Score: -1, Troll

    It's a really stupid name. But, then again, I remember someone saying; "Stupid is as stupid does."

    Hey kids, let's make up some new words for buzz-word bingo!!!!

  4. In Soviet Russia by Anonymous Coward · · Score: -1, Troll

    England visits the President of the United States!

  5. Re:Speaking of compilers... by tomstdenis · · Score: -1, Troll

    Troll.

    A trivial "puts("hello world")" application with GCC 3.2.3 in GNU/Linux is a mere 2984 bytes.

    Maybe you're

    a)an idiot

    b)ignorant as to how GCC works

    c)a troll

    d) all of the above.

    Tom

    --
    Someday, I'll have a real sig.
  6. It has come to my attention that you completely in by Anonymous Coward · · Score: -1, Troll

    It has come to my attention that you completely inhale the shit out of goatse's ass. Read on for more about this fascinating topic.

    The world went into shock a few weeks ago when goatse.info reported the results of a study which concluded that inhaling shit is a very dangerous pastime, one that no one is advised to take up. Eventually, everyone adapted to the new state of affairs and began inhaling other things. Almost everyone, that is. But not you! According to my records, you still inhale shit!

    Why?! What the fuck is wrong with you?!

    You moron, you idiot, you imbecile, you gay nigger ! Arg! You make me so fucking sick! FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU.

  7. Incredibly pathetic. by aminorex · · Score: 0, Troll

    This is a new low. Next we'll see papers
    on using genetic algorithms to find the best
    channel on TV.

    What would be interesting is a genetic system
    to select meso-scale optimizations in a
    compile back-end, for example.

    --
    -I like my women like I like my tea: green-
  8. Re:The Golden Rule of Optimization by Anonymous Coward · · Score: -1, Troll

    Similarly, an American programmer will always be better than a foreign programmer.