DMD 1.032 and 2.016 releases
bearophile
bearophileHUGS at lycos.com
Wed Jul 9 16:56:18 PDT 2008
Walter Bright:
>Why not compile a file with the two different compilers, and compare the obj sizes?<
V. 1.029:
3.223 test.asm
118.300 test.exe
2.390 test.map
162.794 test.map2
1.044 test.obj
V. 1.032:
3.223 test.asm
277.020 test.exe
2.390 test.map
163.326 test.map2
1.044 test.obj
447.132 byte
The contents of obj files are identical.
>Then run obj2asm on each.<
asm files are identical.
>Try generating a .map file for each (compile with -L/map) and see.<
V.1.029 map file (162_794 bytes):
http://rafb.net/p/A5PA0n33.html
V.1.032 map file (163_326 bytes):
http://rafb.net/p/VhEC2d66.html
Their difference:
http://rafb.net/p/OeEttz65.html
// test.d code:
import std.stdio: put = writef, putr = writefln;
import std.string: join;
void main() {
putr(["ab", "cde"].join(""));
}
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list