July 09, 2013 Situation of "scope"? | ||||
---|---|---|---|---|
| ||||
What is the situation regarding the implementation of scope" in D, Walter? Are there some implementation difficulties that make it hard to implement? - - - - - - - - Unrelated. Among the most important patches currently worked on, there are two by Kenji on fixing one of the largest holes in the D module system, and fixing the messy situation of properties: https://github.com/D-Programming-Language/dmd/pull/2305 https://github.com/D-Programming-Language/dmd/pull/2256 (If those two pull requests are successful, they will be the among the most significant improvements in the v2.064 release.) Bye, bearophile |
July 09, 2013 Re: Situation of "scope"? | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | On Tuesday, 9 July 2013 at 00:49:40 UTC, bearophile wrote:
> What is the situation regarding the implementation of scope" in D, Walter? Are there some implementation difficulties that make it hard to implement?
>
It require to define lifetime of basically everything. This is a difficult task to both implement and define (probably defining is the hardest part). Consider temporary for instance, defining their lifetime is quite difficult especially since their creation can be conditional.
|
Copyright © 1999-2021 by the D Language Foundation