Slow performance compared to C++, ideas?
Jonathan M Davis
jmdavisProg at gmx.com
Tue Jun 4 01:05:38 PDT 2013
On Tuesday, June 04, 2013 09:51:31 Zach the Mystic wrote:
> On Tuesday, 4 June 2013 at 07:50:31 UTC, Zach the Mystic wrote:
> > Yeah, it's basically removing D's inherent bias against
> > programmers concerned with performance as opposed to
> > flexibility by allowing performance people such as Manu to
> > structure their code however they want. The price is a keyword
> > new to D but so common elsewhere it hardly seems noticeable as
> > such.
>
> Right?
Yes. That's essentially right. For some attributes, it's not currently
possible to mark functions with them en masse while not having that attribute
on some of the functions (this is particularly bad wtih the colon syntax,
since it affects the rest of the file rather than just a specific scope like the
braces do). Adding virtual as a keyword which would undo a final: or final {} on
any functions that it's marked with would be useful.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list