Slow performance compared to C++, ideas?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jun 4 05:21:43 PDT 2013


On 6/4/13 3:25 AM, Walter Bright wrote:
> On 6/3/2013 10:58 PM, Andrei Alexandrescu wrote:
>> Unless fresh arguments, facts, or perspectives come about, I am
>> personally not
>> convinced, based on this thread so far, that we should operate a
>> language change.
>
> One possibility is to introduce virtual as a storage class that
> overrides final. Hence, one could write a class like:
>
> class C {
> final:
> void foo();
> void baz();
> virtual int abc();
> void def();
> }
>
> This would not break any existing code, and Manu would just need to get
> into the habit of having "final:" as the first line in his classes.

This is generally good but I'd prefer a way to undo a storage class 
instead of introducing two keywords for each.

Andrei




More information about the Digitalmars-d mailing list