On Thursday, 6 February 2014 at 23:20:44 UTC, Adam D. Ruppe wrote:
On Thursday, 6 February 2014 at 21:04:45 UTC, Paulo Pinto wrote:Java and Go compilers do it, why not D ones?Perhaps it could work, I don't really know.
With escape analysis, something that DMD as far as I know doesn't do.
You need to create execution flows for basic blocks, every variable that does not escape the blocks can be turned into stack allocations.
-- Paulo
