D perfomance

Timon Gehr timon.gehr at gmx.ch
Sat Apr 25 23:00:18 UTC 2020


On 25.04.20 12:15, Walter Bright wrote:
> On 4/24/2020 12:27 PM, Arine wrote:
>> There most definitely is a difference and the assembly generated with 
>> rust is better.
> D's @live functions can indeed do such optimizations, though I haven't 
> got around to implementing them in DMD's optimizer. There's nothing 
> particularly difficult about it.

What's an example of such an optimization and why won't it introduce UB 
to @safe code?


More information about the Digitalmars-d mailing list