Migrating dmd to D?

Daniel Murphy yebblies at nospamgmail.com
Fri Aug 16 01:59:50 PDT 2013


"Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in message 
news:kuj10l$194l$1 at digitalmars.com...
> On 8/15/13 7:10 AM, Daniel Murphy wrote:
>> "Suliman" <bubnenkoff at gmail.com> wrote in message
>> news:htihsekthjkyhqazuvpc at forum.dlang.org...
>>> Does anybody work on port D to D?
>>
>> I've done quite a lot of work on it since dconf.
>>
>> The progress of making the C++ source 'conversion compatible' is shown 
>> here:
>> https://github.com/D-Programming-Language/dmd/pull/1980
>>
>> The porting program is here: https://github.com/yebblies/magicport2
>>
>> I am currently able to convert the C++ source to D, then build that into 
>> a
>> compiler capable of building itself, druntime, phobos (with unittests), 
>> and
>> passing the test suite on win32.
>
> Did you have a chance to measure the speed of the Double-D compiler?
>
> Andrei
>

Last time I measured there was a ~20% performance hit.  The D version throws 
away all the recent work done on tuning the internal allocator, and uses the 
GC for all allocations (with collections turned off).  I suspect a large 
chunk of the extra time comes from that. 




More information about the Digitalmars-d mailing list