Slow performance compared to C++, ideas?

Jonathan M Davis jmdavisProg at gmx.com
Thu Jun 6 10:42:07 PDT 2013


On Wednesday, June 05, 2013 22:50:14 Michel Fortin wrote:
> P.S.: while implementing this change, please make sure private and
> package functions can be virtual.

I'd agree with package on that, but I don't think that private should be 
virtualizable, because that conflicts with actually hiding non-accessible 
functions, which is what a number of us are pushing for. Otherwise, private 
implementation details of classes and modules risk causing code breakage (e.g. 
the fact that overload resolution occurs before checking the access level is 
atrocious).

- Jonathan M Davis


More information about the Digitalmars-d mailing list