My Long Term Vision for the D programming language

Elronnd elronnd at elronnd.net
Wed Nov 24 17:56:57 UTC 2021


On Wednesday, 24 November 2021 at 14:13:35 UTC, Per Nordlöw wrote:
> However, note that both
> *snip*
> currently fail but I don't think they should because their 
> end-result `a` has life-time limited to the unittest block. And 
> therefore having deterministic destruction and without the need 
> for the GC and should therefore be allowed in betterC.

The latter examaple requires potentially unbounded space, so it 
cannot be stack-allocated.


More information about the Digitalmars-d mailing list