Slow performance compared to C++, ideas?

Manu turkeyman at gmail.com
Tue Jun 4 01:39:05 PDT 2013


On 4 June 2013 17:46, Walter Bright <newshound2 at digitalmars.com> wrote:

> On 6/4/2013 12:32 AM, Sean Cavanaugh wrote:
>
>> The problem isn't going to be in your own code, it will be in using
>> everyone elses.
>>
>
> If you're forced to use someone else's code and are not allowed to change
> it in any way, then you're always going to have problems with badly written
> APIs.
>
> Even Manu mentioned that he's got problems with C++ libraries because of
> this, and C++ has non-virtual by default.
>

Indeed, I was just trying to illustrate that it is a real problem.
Surely you can see how a language where accessors and properties are
virtual by default will magnify the issue immensely right?
Even the most trivial interactions with a class can't be used inside loops
anymore.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130604/0b6e9cc3/attachment.html>


More information about the Digitalmars-d mailing list