Some dynamic dispatch to reduce template bloat

bearophile bearophileHUGS at lycos.com
Tue Jan 22 04:03:30 PST 2013


mist:

> this can already be done in D.

Of course. But that link is a starting point to invent a possible 
syntax sugar.

Sometimes some sugar makes the difference from nearly never using 
a feature, and using it when it's useful.


> There is always a trade-off between template binary bloat and 
> performance penalty of dynamic typing

Right. A flexible language allows you to chose case by case (with 
a default, when you don't care).

Bye,
bearophile


More information about the Digitalmars-d mailing list