Objects(from classes) at Compile time? no gc

Taylor Hillegeist via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 19 21:59:18 PDT 2014


On Saturday, 17 May 2014 at 13:21:29 UTC, Marc Schütz wrote:
> On Friday, 16 May 2014 at 22:48:08 UTC, Taylor Hillegeist wrote:
>>>> Although, I don't know if it will allocate it during  
>>>> runtime as well.
>>>
>>> It will not.
>>>
>>> -Steve
>>
>> Does this work in GDC?
>
> Can't test in GDC, but it does work in LDC, and I see no reason 
> why it shouldn't, because this functionality is implemented in 
> the frontend, which DMD, GDC and LDC share.

I've been trying to get a baremetal GDC working for the ARM 
cortex-M, I guess it isn't quite ready yet.

I'm looking forward to DConf 2014 to seeing,
"Tiny, Ubiquitous Machines Powered by D" by Michael V. Franklin.
To see how his work on the cortex-M is going.

I mostly work on safety critical applications DO-170C,(Nothing 
with D) but this language looks like it might have a great deal 
of potential in this area. Not that C isn't good, but there are 
things that make the code look cleaner. I was looking at the 
Interactive D compiler and how it associated the assembly code 
with the lines of D code, I guess you can do that through the 
link file(-S in gcc). But D has code coverage information, unit 
test that you don't have to remove from the production code. 
there is a great deal of good stuff there. more and more tools 
for various operation seem to pop up every day. good stuff.


More information about the Digitalmars-d-learn mailing list