Slow performance compared to C++, ideas?

Sean Cavanaugh WorksOnMyMachine at gmail.com
Tue Jun 4 00:32:30 PDT 2013


On 6/4/2013 2:25 AM, Walter Bright wrote:
>
> 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.

The problem isn't going to be in your own code, it will be in using 
everyone elses.




More information about the Digitalmars-d mailing list