[NOTABLE PR] First step from traditional to generic runtime

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 3 01:26:12 PST 2017


On 3/2/2017 11:04 PM, Dukc wrote:
> On Thursday, 2 March 2017 at 19:32:23 UTC, Andrei Alexandrescu wrote:
>> Worth a look: https://github.com/dlang/druntime/pull/1781. This moves
>> comparison code away from tedious runtime-introspected routines to nice
>> templates. -- Andrei
>
> This means that if I don't use the templated features, they don't affect my
> program size nor prevent compilation for platforms where they aren't implemented
> or have errors.
>
> Did I understand right?

That's right. Of course, that was true before, too. What the templates do is put 
the ABI under user control.


More information about the Digitalmars-d mailing list