Slow performance compared to C++, ideas?

deadalnix deadalnix at gmail.com
Fri May 31 21:49:47 PDT 2013


On Saturday, 1 June 2013 at 02:58:59 UTC, Juan Manuel Cabo wrote:
>> Well, the discussions at dconf convinced me. Certainly, at 
>> this point, I think that the only semi-viable excuse for not 
>> making functions non-virtual by default is the code breakage 
>> that it would cause, and given how surprisingly minimal that 
>> is, I think that it's definitely worth it - especially when 
>> the kind of folks whose code Walter is most worried about 
>> breaking are the guys most interested in the change.
>> 
>> - Jonathan M Davis
>> 
>
> Making everything final by default would IMO kind of break
> automated mock classes generation for unit testing,
> automatic proxy class generation for DB entities, and
> other OOP niceities.
>

Yeah, everybody seems to ignore that. OOP is slow in general, due 
to excess of indirections, so if its loose its benefits . . .


More information about the Digitalmars-d mailing list