Required DMD changes for Mir and few thoughts about D future

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 27 08:31:10 PDT 2016


On 9/27/16 12:48 PM, Ilya Yaroshenko wrote:
> On Tuesday, 27 September 2016 at 10:44:28 UTC, Guillaume Piolat wrote:
>> On Tuesday, 27 September 2016 at 01:17:16 UTC, Andrei Alexandrescu wrote:
>>> I'm not going to argue this much further. Essentially Mir is touted
>>> as a highly generic and portable library. Having it only work on one
>>> language implementation works against that statement, the credibility
>>> of Mir, and the credibility of D as an universal platform for
>>> creating fast code.
>>
>> Isn't it just a matter of adding "version(LDC)" around the more
>> optimized blocks?
>> Having it work in DMD, however slower, is good enough.
>
> 50 times slower for modern CPUs.

Just to reiterate my point: I'd say a 30% penalty would be still within 
batting range of the best out there and would be my lower bound for 
declaring dmd/Mir a success. -- Andrei


More information about the Digitalmars-d mailing list