dmd-x64

alkor alkor at au.ru
Wed Dec 23 03:18:42 PST 2009


maybe, i do something wrong, but for example:

$ cat main.d
int main () {
    return 0;
}

$dmd -O -release -ofmain-dmd main.d
$gdc -O3 main.d -o main-gdc
$ ls -l main-dmd main-gdc
-rwxr-xr-x 1 alkor alkor 123439 Dec 23 14:06 main-dmd
-rwxr-xr-x 1 alkor alkor 609363 Dec 23 14:06 main-gdc

why the main-gdc in 5 time more then the main-dmd?

any test shows dmd superiorities over gdc (and gcc)
dmd rules :)

== Repost the article of Travis Boucher (boucher.travis at gmail.com)
== Posted at 2009/12/23 04:48 to digitalmars.D

If you can't get gdc to generate optimized code, then you are using it
wrong.



More information about the Digitalmars-d mailing list