On 09/01/2010 19:44, grauzone wrote:
On the other hand, template bloat can inflate binaries surprisingly much. For example, the unlinked object file of "hello world" in D1 is 2.3 KB, while in D2, it's 36 KB. That's because writefln() is a template in D2. (The final executable is almost twice the size as the D2 one too, although it's questionable how much of the additional size is due to templates.)
simple generics are smart.
