Slow performance compared to C++, ideas?

Walter Bright newshound2 at digitalmars.com
Fri Jun 7 00:42:57 PDT 2013


On 6/6/2013 10:14 PM, Andrei Alexandrescu wrote:
> I don't buy all that "humans aren't rational" stuff.

I don't either, but I don't think that was my point.

My point is that a language where -O delivers the performance is preferable to a 
language that you have to do careful annotations and run extra tools on to get it.

We discussed a while back an experimental Java compiler where annotations were 
used to signify uniqueness, etc. The compiler was a technical success, but the 
researcher was not very successful in getting users to use the annotations.

This is why I am pushing for D doing attribute inference as much as possible, 
rather than expecting people to annotate carefully. I believe we are much more 
likely to be successful with the former approach.

I'd very much prefer an auto-finalize mechanical solution.

BTW, dustmite and rdmd are great tools. I'm happy to have been proven wrong 
about them.



More information about the Digitalmars-d mailing list