escaping pointer to scope local array: bug or not?

Robert Fraser fraserofthenight at gmail.com
Wed Aug 19 13:14:57 PDT 2009


Steven Schveighoffer wrote:
> It also says that Java 6, a language compiled as I proposed D could be, 
> has escape analysis.

Java's escape analysis is done at runtime (during JIT compilation) AFAIK.

LDC can compile to bitcode and link-time codegen could be used to deal 
with escape analysis... this doesn't help (much) in generating errors, 
but it allows better codegen.



More information about the Digitalmars-d mailing list