D perfomance

drug drug2004 at bk.ru
Thu Apr 23 15:57:01 UTC 2020


23.04.2020 18:13, Arine пишет:
> I wasn't replying to the author of the thread. I was replying to a 
> misinformed individual in the thread.
> 
> If that's the way you want to think about, you can create your own 
> compiler and language. "It's just about how many efforts you put into 
> it", even if that means making your own language and compiler. How much 
> "efforts" you have to put into something is a factor in that decision. 
> You'd basically have to remake Rust in D to get the same assembly 
> results and guarantee regarding aliasing.

Well, you're right, I used wrong wording to express my thoughts. I meant 
that C/C++/Rust/D belong to the same performance league. The difference 
appears in specific cases of course, but in general they are equal. And 
your statement that Rust assembly output is better is wrong.


More information about the Digitalmars-d mailing list