DIP62: Volatile type qualifier for unoptimizable variables in embedded programming

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 17 00:05:33 PDT 2014


On 17 July 2014 07:09, Walter Bright via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On 7/16/2014 1:12 PM, Johannes Pfau wrote:
>>
>> I'll take this as you pre-approve all the mentioned extensions?
>>
>> * way to disable typeinfo for struct
>
>
> Worth investigating. It'd probably be much more effective to work the linker
> angle of removing items for which no references exist. Martin was working on
> that, but his latest attempt had to be reverted, as it needed a new
> approach.
>
>
>
>> * way to disable initializer
>
>
> T t = void; // no initialization
>
>
>> * force inlining
>
>
> http://wiki.dlang.org/DIP56 (Note the author!)
>

For the time being, GDC has @attribute("forceinline")

https://github.com/D-Programming-GDC/GDC/blob/master/libphobos/libdruntime/gcc/attribute.d


>> * (way to omit copy constructor function / force inline)
>
>
> I don't know what that means

@disable this(this);  ?

I'll let Johannes clarify.


Iain


More information about the Digitalmars-d mailing list