[dmd-beta] D 1.075 and 2.060 betas 2

Walter Bright walter at digitalmars.com
Mon Jul 30 16:30:03 PDT 2012


On 7/30/2012 3:45 PM, Andrej Mitrovic wrote:
> On 7/30/12, Walter Bright <walter at digitalmars.com> wrote:
>> On 7/30/2012 7:25 AM, Andrej Mitrovic wrote:
>>> How come this 64bit ABI is so hard to implement right? I'm just curious.
>> It doesn't fit in with the way that dmd generates code. I did not anticipate
>> that structs could be passed in arbitrary combinations of gp and fp
>> registers.
> Well whenever it's implemented it's going to be a huge win for my C++
> wrapper generator which supports pass-by-value for POD types (unlike
> SWIG which requires a pointer and possibly a malloc+free call).
> Looking forward to that day. :)
>

On the plus side, relatively few structs contain mixed float/int members.


More information about the dmd-beta mailing list