Raw binary(to work without OS) in D

Sean Kelly sean at invisibleduck.org
Thu Jun 28 10:02:41 PDT 2012


On Jun 28, 2012, at 9:45 AM, Iain Buclaw wrote:
> 
> Wouldn't it be useful if the compiler had diagnostics for all implicit
> allocations it makes (ie: closures, array literals)?  Similar to that
> of the -vtls switch. These such things you may want to avoid in a
> freestanding environment (no link to C runtime).

Yes it would.  I guess the question is how to expose this.  Generally speaking though, array append type operations allocate, AA insertions allocate, and non-scope delegate use allocates.  I think that's it.


More information about the Digitalmars-d mailing list