DMD 0.150 release

Kyle Furlong kylefurlong at gmail.com
Wed Mar 22 00:24:16 PST 2006


Walter Bright wrote:
> "xs0" <xs0 at xs0.com> wrote in message news:dvq249$1ljb$1 at digitaldaemon.com...
>> Hmm, so casting between FooInterface[] and FooClass[] still doesn't work, 
>> right?
> 
> That's right.
> 
>> Are you sure that's better than spending a few cycles per method call? 
>> Furthermore, some common operations would actually be faster:
>>
>> - returning interfaces from functions :)
>> - calling methods defined in Object
>> - testing for equality
>>
>> BTW, the spec should say something on that matter, I think you should 
>> either make the array casting work or declare it illegal, as an invalid 
>> reference is utterly useless. At least one will get a nice error message 
>> instead of a big "WTF?!?" expression on his face, when he tries to call a 
>> method :)
>>
>>
>> xs0 
> 
> 

And the rest of the post...?



More information about the Digitalmars-d-announce mailing list