reflection / D's function calling convention?

John Reimer terminal.node at gmail.com
Wed Nov 15 15:31:21 PST 2006


On Tue, 14 Nov 2006 05:27:57 -0800, Wolfgang Draxinger  
<wdraxinger at darkstargames.de> wrote:

> Thomas Kuehne wrote:
>
>> Is D's functions calling convention somewhere documented?
>>
>> I've been tinkering with a reflection module for D.
>> Gaining access to all dynamic and static symbols is
>> currently possible as well as calling C functions
>> (see below) but calling functions with D linkage isn't
>> yet implemented:
>
> I'm currently working on a preliminary ABI, plattform neutral ABI
> for D. Plattform neutral in the sense, that everything that is
> plattform related is expressed by reference to additional
> plattform specific structured. This ABI also differentiates
> between compile time, linkage time and runtime level, which is
> IMHO required to get reflection and introspection done in a
> elegant way. Along with that I'm also working on a fork of the
> GDC compiler and a custom set ot GNU binutils that follow that
> ABI. The ABI itself is binary format neutral, though I'm also
> working on a special version of the ELF format optimized for
> that ABI, which uses DWARF to store reflection and introspection
> information, instead of placing that in a additional .data
> section.
>
> I hope to have a relase candidate in late December.
>
> Wolfgang Draxinger



Wow!  I'm interseted!

-JJR



More information about the Digitalmars-d mailing list