Migrating D front end to D - post Dconf

Iain Buclaw ibuclaw at ubuntu.com
Sat May 11 08:09:10 PDT 2013


On May 5, 2013 2:36 PM, "Iain Buclaw" <ibuclaw at gdcproject.org> wrote:
>
> Daniel and/or David,
>
> We should list down in writing the issues preventing DMD, GDC, and LDC
having a shared code base.  From what David has shown me, LDC will need the
most work for this, but I'll list down what I can remember.
>
> 1. Support extern(C++) classes so can have a split C++/D implementation
of eg: Expression and others.
>
> 2. Support representing integers and floats to a greater precision than
what the host can natively support. In D there's BigInt for integral types,
and there's a possibility of using std.numeric for floats.  For me,
painless conversion between eg: BigInt <-> GCC's double_int is a
requirement, but that is more of an after thought at this point in time.
>

Actually, the more I sit down and think about it, the more I question
whether or not it is a good idea for the D D front end to have a dependency
on phobos.   Maybe I should stop thinking in general.  :)

Regards
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130511/7f67dc3b/attachment.html>


More information about the Digitalmars-d mailing list