[phobos] 64-bit
Sean Kelly
sean at invisibleduck.org
Wed Jun 30 20:36:18 PDT 2010
On Jun 30, 2010, at 6:57 PM, Walter Bright wrote:
>
> David Simcha wrote:
>> I saw Walter's latest checkin for DMD and needless to say, I'm extremely excited. Is there an incomplete version of 64-bit DMD available yet that will do all frontend-related stuff assuming void*.sizeof == 8, size_t.sizeof == 8, etc. and then skip the codegen? I would like to run it on the libraries that I use/develop (Phobos, dstats, parallelfuture) to have it check whether there are any issues related to improper assumptions about things like the size of pointers and size_t's and start fixing them now if there are any, so that when 64-bit support is complete these libs are ready to go.
>>
>
> It'll be a while yet. But I don't anticipate much problem with Phobos, just the inline assembly has to be reviewed.
What about the ABI changes for 64-bit? Will function calls simply switch to stuffing the first arg into RAX instead of EAX and continue as-is? Or is it too early to say? I know the C calling convention is significantly different.
More information about the phobos
mailing list