eliminate new operator paraphernalia

dsimcha dsimcha at yahoo.com
Mon Feb 15 06:52:43 PST 2010


== Quote from grauzone (none at example.net)'s article
> dsimcha wrote:
> > 2.  Pointer offset information for each type is determined at compile time using
> > template metaprogramming.
> Why don't you just ask Walter to make dmd generate the necessary
> information?

Three reasons:

1.  Walter has enough on his plate already.

2.  Using templates to do it is both cool and practical.  It's probably easier
than hacking the compiler.

3.  I find the fact that RTTI is such a black box and you can't customize it
without hacking the compiler, despite D's incredible compile-time introspection
facilities to be a weakness in the language.



More information about the Digitalmars-d mailing list