DIP 1007 Preliminary Review Round 1

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 25 04:29:39 PDT 2017


On 2017-04-24 17:03, Mike Parker wrote:
> DIP 1007 is titled "'future symbol' Compiler Concept".
>
> https://github.com/dlang/DIPs/blob/master/DIPs/DIP1007.md
>
> All review-related feedback on and discussion of the DIP should occur in
> this thread. Due to DConf taking place during the review period, the
> period will be extended by a week. The review period will end at 11:59
> PM ET on May 15 (3:59 AM GMT May 16), or when I make a post declaring it
> complete.
>
> At the end of Round 1, if further review is deemed necessary, the DIP
> will be scheduled for another round. Otherwise, it will be queued for
> the formal review and evaluation by the language authors.
>
> Thanks in advance to all who participate.
>
> Destroy!

How is this supposed to be used?

* Take the example of the recent __cmp addition to object.d, would we 
say: "this PR has to wait one year because we need to add the @future 
attribute and let users update their code"?

* When the @future attribute is added, would one add it on a dummy 
symbol or would one provide the implementation as well?

* If the implementation is provided, is it possible to use the symbol by 
the users the symbol was added for in the beginning? In the above 
example that would be the compiler generating a code to __cmp

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list