[ABI] 128bit integers and other vendor types

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 27 23:08:41 PDT 2014


On Sunday, 27 July 2014 at 13:17:42 UTC, Iain Buclaw wrote:
> Now we have DDMD approaching fast round the corner, with it 
> comes the prospect of leveraging the many library types in D 
> for use in the compiler frontend; BigInt, CustomFloat, 
> HalfFloat;

I would point out that every time I've seen compiler devs discuss 
using Phobos in dmd, there has been a large reluctance to do so 
(if not outright a desire to avoid it entirely) in order to avoid 
the circular dependencies that would ensue (Daniel Murphy in 
particular really doesn't seem to like the idea). It's much 
easier to control what's going on with dmd if it doesn't rely on 
Phobos. So, while it may very well be that ddmd eventually uses 
Phobos, I suspect that you have an uphill battle in trying to 
make it happen. It's more likely that ddmd would end up with some 
simplified copies of the necessary functionality from Phobos 
within its own source code in order to avoid any such 
dependencies.

- Jonathan M Davis


More information about the Digitalmars-d mailing list