Would you trade 0.1% in performance for a better debugging experience?

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 18 09:03:23 PST 2014


On Tuesday, 18 November 2014 at 13:18:10 UTC, Steven 
Schveighoffer wrote:
> On 11/17/14 6:14 PM, Vladimir Panteleev wrote:
>> I proposed to build Phobos and Druntime with stack frames 
>> enabled:
>
> Sure, why not 3 versions of phobos/runtime in installation? 
> Space is cheap.

You have to consider the combinatorial explosion of our target 
platforms, and also the impact on the size of the distribution.

- In 2.066.0, phobos.lib is around 9MB.
- *2 for x86/x64.
- *4 for the number of supported platforms.
- *3 for the proposed number of build configurations.

That comes out to over 200 MB. Might be bigger due to debug 
builds of Phobos taking more space.

Compression should reduce the size of the distribution packages, 
but we'd need to move to something other than ZIP files if we 
want to take advantage of similarities between distinct files. 
Perhaps offer .7z as an option.

I'm not against the idea, though enabling stack frames is a much 
simpler change.


More information about the Digitalmars-d mailing list