Re: Optlink 8.00.10

2011-02-27 Thread Sönke Ludwig

Am 25.02.2011 02:14, schrieb Walter Bright:

Walter Bright wrote:

This fixes a couple of crashers, 2436 and 3372, that were causing
people lots of trouble:

http://ftp.digitalmars.com/link.8.00.10.zip


More crashers fixed:

http://ftp.digitalmars.com/link.8.00.11.zip


With the current set of sources and DMD 2.052 I get no crash anymore but 
instead the linker hangs (without taking CPU time).


I prepared another zip with the corresponding object files and the 
command line used:


http://rapidshare.com/files/450057876/optlinkcrash.zip


Re: Optlink 8.00.10

2011-02-27 Thread Walter Bright

Sönke Ludwig wrote:
With the current set of sources and DMD 2.052 I get no crash anymore but 
instead the linker hangs (without taking CPU time).


I prepared another zip with the corresponding object files and the 
command line used:


http://rapidshare.com/files/450057876/optlinkcrash.zip


Every time, or once in a while?


Re: Optlink 8.00.10

2011-02-27 Thread Sönke Ludwig

Am 27.02.2011 10:46, schrieb Walter Bright:

Sönke Ludwig wrote:

With the current set of sources and DMD 2.052 I get no crash anymore
but instead the linker hangs (without taking CPU time).

I prepared another zip with the corresponding object files and the
command line used:

http://rapidshare.com/files/450057876/optlinkcrash.zip


Every time, or once in a while?


Seems to be everytime - tried about 10 times.


Re: Alternative linker win32/64

2011-02-27 Thread Jacob Carlborg

On 2011-02-26 12:10, Sebastian Schuberth wrote:

On 24.02.2011 19:41, Walter Bright wrote:


The nice thing is reduction in half of the resulting binary size.


That's indeed nice! The unnecessarily huge size of binaries created
with D / Optlink was in fact something hindering me to use D at all!


I'm sure that linker is doing it by writing compressed exe's. This means
that it has the same memory footprint, and it loads slower because it
must be decompressed. Also, if you store it in a zip file, the zip file


IMHO, that is a common misbelief when it comes to executable
compressors. AFAIK, the time required for decompression is
overcompensated by the time required to read less data from disk, even
still nowadays.


won't be any smaller because recompressing compressed data doesn't make
it smaller.


There really needs to be no compression or back magic involved to make
the executable size for a simple program like

---8---

import std.stdio;

void main(string[] args)
{
writeln(Hello World, Reloaded);
}

---8---

smaller than the current 286 KiB! Some dead code elemination would
already do, I guess.


On Mac OS X linking a Hello World application dynamically to Tango 
results in a 16Kb executable, the same size as for a Hello World written 
in C.


--
/Jacob Carlborg


Re: Optlink 8.00.10

2011-02-27 Thread Walter Bright

Walter Bright wrote:

http://d.puremagic.com/issues/post_bug.cgi


Arrgh, I mean:

http://d.puremagic.com/issues/show_bug.cgi?id=5662


Re: Optlink 8.00.10

2011-02-27 Thread Walter Bright

Sönke Ludwig wrote:

Am 27.02.2011 10:46, schrieb Walter Bright:

Sönke Ludwig wrote:

With the current set of sources and DMD 2.052 I get no crash anymore
but instead the linker hangs (without taking CPU time).

I prepared another zip with the corresponding object files and the
command line used:

http://rapidshare.com/files/450057876/optlinkcrash.zip


Every time, or once in a while?


Seems to be everytime - tried about 10 times.



http://d.puremagic.com/issues/post_bug.cgi