Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2018-07-22 Thread Jonathan Marler via Digitalmars-d
On Saturday, 21 July 2018 at 17:54:17 UTC, soolaïman wrote: I know this one year old already but the DIP is still in formal review. [...] This doesn't work because the ABI of a normal function is NOT THE SAME as the ABI of a delegate. That's the only reason the DIP exists is to solve this

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2018-07-21 Thread soolaïman via Digitalmars-d
I know this one year old already but the DIP is still in formal review. I Think the inability to create a delegate with a custom object as its context similar to delegates created from member functions should be fixed in a library solution rather than making a language change. A simple

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-25 Thread Andrea Fontana via Digitalmars-d
On Monday, 24 July 2017 at 15:27:10 UTC, Steven Schveighoffer wrote: I don't like it so much but also something like this could be considered: out!(x => x>0) or out!x(x > 0) that can't collide with current syntax I think you meant this for DIP 1009? -Steve You're right, I had too many

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-24 Thread Steven Schveighoffer via Digitalmars-d
On 7/24/17 7:08 AM, Andrea Fontana wrote: On Friday, 14 July 2017 at 10:43:05 UTC, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md All review-related feedback on and discussion of the DIP should occur in this thread. The

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-24 Thread Nicholas Wilson via Digitalmars-d
On Monday, 17 July 2017 at 15:16:45 UTC, Jonathan Marler wrote: On Sunday, 16 July 2017 at 11:45:09 UTC, Nicholas Wilson wrote: [...] I don't see any relation. Looks like the lambda capture lowers to defining a temporary struct and assigning the captured values to fields in that struct,

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-24 Thread Andrea Fontana via Digitalmars-d
On Friday, 14 July 2017 at 10:43:05 UTC, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md All review-related feedback on and discussion of the DIP should occur in this thread. The review period will end at 11:59 PM ET on July

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-17 Thread Jonathan Marler via Digitalmars-d
On Sunday, 16 July 2017 at 11:45:09 UTC, Nicholas Wilson wrote: On Friday, 14 July 2017 at 10:43:05 UTC, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md All review-related feedback on and discussion of the DIP should occur

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-16 Thread Nicholas Wilson via Digitalmars-d
On Friday, 14 July 2017 at 10:43:05 UTC, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md All review-related feedback on and discussion of the DIP should occur in this thread. The review period will end at 11:59 PM ET on July

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-14 Thread Jonathan Marler via Digitalmars-d
On Friday, 14 July 2017 at 17:02:37 UTC, Dmitry Olshansky wrote: ...The dance with making an ABI wrapper can be left to compiler proper. This proposal doesn't make ABI wrappers, it changes the ABI of the function itself.

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-14 Thread Steven Schveighoffer via Digitalmars-d
On 7/14/17 1:18 PM, Jonathan Marler wrote: On Friday, 14 July 2017 at 12:52:56 UTC, Steven Schveighoffer wrote: On 7/14/17 6:43 AM, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md All review-related feedback on and

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-14 Thread Jonathan Marler via Digitalmars-d
On Friday, 14 July 2017 at 12:52:56 UTC, Steven Schveighoffer wrote: On 7/14/17 6:43 AM, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md All review-related feedback on and discussion of the DIP should occur in this thread.

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-14 Thread Steven Schveighoffer via Digitalmars-d
On 7/14/17 1:02 PM, Dmitry Olshansky wrote: On Friday, 14 July 2017 at 10:43:05 UTC, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md Contrary to other poster I believe this is wrong way to solve a problem. A far simpler

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-14 Thread Dmitry Olshansky via Digitalmars-d
On Friday, 14 July 2017 at 10:43:05 UTC, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md Contrary to other poster I believe this is wrong way to solve a problem. A far simpler approach is to allow compiler implicitly

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-14 Thread Nicholas Wilson via Digitalmars-d
On Friday, 14 July 2017 at 10:43:05 UTC, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". Looks good!

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-14 Thread Steven Schveighoffer via Digitalmars-d
On 7/14/17 6:43 AM, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md All review-related feedback on and discussion of the DIP should occur in this thread. The review period will end at 11:59 PM ET on July 28 (3:59 AM GMT July

Re: DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-14 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Friday, 14 July 2017 at 10:43:05 UTC, Mike Parker wrote: DIP 1011 is titled "extern(delegate)". Looks good to me, useful, doesn't brake code, DIP seems correct.

DIP 1011--extern(delegate)--Preliminary Review Round 1 Begins

2017-07-14 Thread Mike Parker via Digitalmars-d-announce
The first preliminary review round of DIP 1011, "extern(delegate)", has begun. http://forum.dlang.org/thread/topmfucguenqpucsb...@forum.dlang.org

DIP 1011--extern(delegate)--Preliminary Review Round 1

2017-07-14 Thread Mike Parker via Digitalmars-d
DIP 1011 is titled "extern(delegate)". https://github.com/dlang/DIPs/blob/master/DIPs/DIP1011.md All review-related feedback on and discussion of the DIP should occur in this thread. The review period will end at 11:59 PM ET on July 28 (3:59 AM GMT July 29), or when I make a post declaring