On Monday, 27 May 2013 at 16:18:34 UTC, David Nadlinger wrote:
On Monday, 27 May 2013 at 15:22:21 UTC, Peter Alexander wrote:
Am I the only person that worries greatly about the length of symbols in D?

No, I do as well. My units of measurement project suffered from very non-negligible code bloat due to symbol name length, and even if that was a rather extraordinary endeavor to begin with, "normal" D code is affected just as well. For example, try this one from the std.algorithm unit tests:

———
<13 kb of mangling>
———

That's 13 kilobytes of data for a single symbol name! And the whole file also crashes the MinGW as when debug info generation is enabled, with the following rather hilarious error message:

"Fatal error: can't close N:/Build/Work/ldc2-llvm3.3-release/runtime/phobos_std_algorithm_debug.o: File too big"

So, yes, your guess on Twitter a few days ago was correct.

David

This also breaks forum software which shows one line string. Interesting issue here is whether mangling would be reduced (I guess it wouldn't).

Reply via email to