September 10, 2007
source:
  http://www.digitalmars.com/d/phobos/object.html
  and page 44 of WalterAndrei.pdf presentation

"...Run-time reflection can then be done in a library based on compile-time reflection..."

does that mean that most of the Object/Interface... stuff will be deprecated then? most of the feature are runtime-reflection based, or?

ciao dennis


September 11, 2007
dennis luehring wrote:
> source:
>   http://www.digitalmars.com/d/phobos/object.html
>   and page 44 of WalterAndrei.pdf presentation
> 
> "...Run-time reflection can then be done in a library based on compile-time reflection..."
> 
> does that mean that most of the Object/Interface... stuff will be deprecated then? most of the feature are runtime-reflection based, or?
> 
> ciao dennis

I doubt it.  I mean, without basic RTTI, you can't do object casting safely.  You can't use structs as keys in AAs.  You can't convert structs to strings[1].

Rather, I suspect the new traits stuff will complement and expand on what we can do at runtime.

	-- Daniel

[1] Well, you can't do this in Tango, either.  But that's neither here nor there :)