www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DMD 1.023 and 2.007 releases

reply Walter Bright <newshound1 digitalmars.com> writes:
Full closures in 2.007!

http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.023.zip

http://www.digitalmars.com/d/changelog.html
http://ftp.digitalmars.com/dmd.2.007.zip
Nov 02 2007
next sibling parent reply "Vladimir Panteleev" <thecybershadow gmail.com> writes:
On Fri, 02 Nov 2007 22:25:30 +0200, Walter Bright <newshound1 digitalmars.com>
wrote:

 Full closures in 2.007!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.023.zip

 http://www.digitalmars.com/d/changelog.html
 http://ftp.digitalmars.com/dmd.2.007.zip
Awesome! How are the full closures implemened? Is there some info in the spec? (If there is, maybe the changelog should link to it). Also, the 1.0 changelog doesn't seem to be formatted proprely (missing bar on the right and bits of DDoc code at top)... -- Best regards, Vladimir mailto:thecybershadow gmail.com
Nov 02 2007
parent reply "Vladimir Panteleev" <thecybershadow gmail.com> writes:
On Fri, 02 Nov 2007 22:38:24 +0200, Vladimir Panteleev
<thecybershadow gmail.com> wrote:

 (missing bar on the right 
Left. Damnit. -- Best regards, Vladimir mailto:thecybershadow gmail.com
Nov 02 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
Fixed.
Nov 02 2007
prev sibling next sibling parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Walter Bright" <newshound1 digitalmars.com> wrote in message 
news:fgg146$dr$1 digitalmars.com...
 Full closures in 2.007!
Awesome!
 http://www.digitalmars.com/d/changelog.html
 http://ftp.digitalmars.com/dmd.2.007.zip
opStar is partially useless without ref returns: you can't use it on the lhs. That is there's no opStarAssign. Does this mean ref returns are coming soon? Or is the lack of opStarAssign just an oversight? (I'm kind of hoping for the former)
Nov 02 2007
parent reply Walter Bright <newshound1 digitalmars.com> writes:
Jarrett Billingsley wrote:
 opStar is partially useless without ref returns: you can't use it on the 
 lhs.  That is there's no opStarAssign.
 
 Does this mean ref returns are coming soon?  Or is the lack of opStarAssign 
 just an oversight?  (I'm kind of hoping for the former) 
I don't know yet.
Nov 02 2007
parent "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Walter Bright" <newshound1 digitalmars.com> wrote in message 
news:fggf6e$rmd$1 digitalmars.com...
 Jarrett Billingsley wrote:
 opStar is partially useless without ref returns: you can't use it on the 
 lhs.  That is there's no opStarAssign.

 Does this mean ref returns are coming soon?  Or is the lack of 
 opStarAssign just an oversight?  (I'm kind of hoping for the former)
I don't know yet.
That sounds awfully ominous.
Nov 02 2007
prev sibling next sibling parent Witold Baryluk <baryluk smp.if.uj.edu.pl> writes:
Dnia Fri, 02 Nov 2007 13:25:30 -0700
Walter Bright <newshound1 digitalmars.com> napisa=B3/a:

 Full closures in 2.007!
=20
 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.023.zip
=20
 http://www.digitalmars.com/d/changelog.html
 http://ftp.digitalmars.com/dmd.2.007.zip
 Bugzilla 318: wait does not release thread resources on Linux
At last!
 Full closure support added.
Yes, yes, yes! Keep going. :) --=20 Witold Baryluk, aleph0
Nov 02 2007
prev sibling next sibling parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Walter Bright" <newshound1 digitalmars.com> wrote in message 
news:fgg146$dr$1 digitalmars.com...
 Full closures in 2.007!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.023.zip

 http://www.digitalmars.com/d/changelog.html
 http://ftp.digitalmars.com/dmd.2.007.zip
AUUGH!! You broke D1! Contract invariants now need parens after them a la D2! Oh noes!
Nov 02 2007
parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message 
news:fggbvb$nc7$1 digitalmars.com...
 "Walter Bright" <newshound1 digitalmars.com> wrote in message 
 news:fgg146$dr$1 digitalmars.com...
 Full closures in 2.007!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.023.zip

 http://www.digitalmars.com/d/changelog.html
 http://ftp.digitalmars.com/dmd.2.007.zip
AUUGH!! You broke D1! Contract invariants now need parens after them a la D2! Oh noes!
Ignore me. ... (Downloaded 2.007)
Nov 02 2007
parent "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message 
news:fggc13$ndl$1 digitalmars.com...
 "Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message 
 news:fggbvb$nc7$1 digitalmars.com...
 "Walter Bright" <newshound1 digitalmars.com> wrote in message 
 news:fgg146$dr$1 digitalmars.com...
 Full closures in 2.007!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.023.zip

 http://www.digitalmars.com/d/changelog.html
 http://ftp.digitalmars.com/dmd.2.007.zip
AUUGH!! You broke D1! Contract invariants now need parens after them a la D2! Oh noes!
Ignore me. ... (Downloaded 2.007)
I guess this also brings up the subject of "D2 should NOT be the main page IN ANY WAY SHAPE OR FORM OMFG". My update process is sort of muscle-memoried into my brain, I didn't remember to choose "D1.0" from the column and ended up with D2. It's very misleading.
Nov 02 2007
prev sibling next sibling parent Christopher Dunn <cdunn2001 gamil.com> writes:
Walter Bright Wrote:

 Full closures in 2.007!
Very, very cool. I hope someone shows us some performance testing soon....
Nov 02 2007
prev sibling next sibling parent reply "Stewart Gordon" <smjg_1998 yahoo.com> writes:
"Walter Bright" <newshound1 digitalmars.com> wrote in message 
news:fgg146$dr$1 digitalmars.com...
 Full closures in 2.007!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.023.zip

 http://www.digitalmars.com/d/changelog.html
 http://ftp.digitalmars.com/dmd.2.007.zip
Why is issue 689 listed as fixed again, even though the perhaps most-complained-about instance hasn't changed at all? Stewart. -- My e-mail address is valid but not my primary mailbox. Please keep replies on the 'group where everybody may benefit.
Nov 02 2007
parent reply Walter Bright <newshound1 digitalmars.com> writes:
Stewart Gordon wrote:
 Why is issue 689 listed as fixed again, even though the perhaps 
 most-complained-about instance hasn't changed at all?
Can you be more specific, please?
Nov 02 2007
next sibling parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Walter Bright" <newshound1 digitalmars.com> wrote in message 
news:fggqoj$1aeg$1 digitalmars.com...
 Stewart Gordon wrote:
 Why is issue 689 listed as fixed again, even though the perhaps 
 most-complained-about instance hasn't changed at all?
Can you be more specific, please?
The Win32 DLLs in D section.
Nov 02 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
Jarrett Billingsley wrote:
 "Walter Bright" <newshound1 digitalmars.com> wrote in message 
 news:fggqoj$1aeg$1 digitalmars.com...
 Stewart Gordon wrote:
 Why is issue 689 listed as fixed again, even though the perhaps 
 most-complained-about instance hasn't changed at all?
Can you be more specific, please?
The Win32 DLLs in D section.
I put a note in there as to why the printf's are used.
Nov 02 2007
prev sibling parent reply "Stewart Gordon" <smjg_1998 yahoo.com> writes:
"Walter Bright" <newshound1 digitalmars.com> wrote in message 
news:fggqoj$1aeg$1 digitalmars.com...
 Stewart Gordon wrote:
 Why is issue 689 listed as fixed again, even though the perhaps 
 most-complained-about instance hasn't changed at all?
Can you be more specific, please?
ctod.html still states that "printf rules". Stewart. -- My e-mail address is valid but not my primary mailbox. Please keep replies on the 'group where everybody may benefit.
Nov 03 2007
next sibling parent 0ffh <spam frankhirsch.net> writes:
Stewart Gordon wrote:
 ctod.html still states that "printf rules".
Great! I was always of the opinion that printf rules! =) But srsly: If someone took the HTML, overhauled it, and sent it back to Walter I'm sure he'd use it. It's the Grand Ole Rule of Life: You want it done, you do it... Regards, Frank
Nov 03 2007
prev sibling parent Walter Bright <newshound1 digitalmars.com> writes:
Stewart Gordon wrote:
 "Walter Bright" <newshound1 digitalmars.com> wrote in message 
 news:fggqoj$1aeg$1 digitalmars.com...
 Stewart Gordon wrote:
 Why is issue 689 listed as fixed again, even though the perhaps 
 most-complained-about instance hasn't changed at all?
Can you be more specific, please?
ctod.html still states that "printf rules".
Yes <g>.
Nov 03 2007
prev sibling next sibling parent reply "Craig Black" <craigblack2 cox.net> writes:
More good stuff!  It seems you have been busy the past couple weeks.

I was expecting more of an overhaul of the const stuff.  Is that coming or 
did you find a simpler solution?

Will there be documentation regarding closures?  I am curious to see how it 
is done, and if performance will suffer for nested functions that do not use 
it.

-Craig
Nov 02 2007
parent "Craig Black" <craigblack2 cox.net> writes:
"Craig Black" <craigblack2 cox.net> wrote in message 
news:fggs5d$1cs8$1 digitalmars.com...
 More good stuff!  It seems you have been busy the past couple weeks.

 I was expecting more of an overhaul of the const stuff.  Is that coming or 
 did you find a simpler solution?

 Will there be documentation regarding closures?  I am curious to see how 
 it is done, and if performance will suffer for nested functions that do 
 not use it.

 -Craig
Disregard. I didn't see the posts in the main D group.
Nov 02 2007
prev sibling next sibling parent reply Robert Fraser <fraserofthenight gmail.com> writes:
Walter Bright Wrote:

 Full closures in 2.007!
 
 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.023.zip
 
 http://www.digitalmars.com/d/changelog.html
 http://ftp.digitalmars.com/dmd.2.007.zip
Thanks! D2 has a lot of features I want to use (__traits, overload sets, C++ interface), but this (closures) is the first feature I'm actually considering switching for (esp. since there's an experimental Tango for D2 now, too). Thanks, Walter, for this excellent release!
Nov 02 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
Robert Fraser wrote:
 D2 has a lot of features I want to use (__traits, overload sets, C++
 interface), but this (closures) is the first feature I'm actually
 considering switching for (esp. since there's an experimental Tango
 for D2 now, too).
I suspect that closures are one of those "stealth" features that will produce a lot of unforeseen changes in how one uses D. For example, I think a lot of the need for inner classes and overloading () will just go away. The other neat-o thing about closures is there's no new syntax and no breakage, it's just things that didn't work before now work.
 Thanks, Walter, for this excellent release!
You're welcome!
Nov 02 2007
prev sibling parent Don Clugston <dac nospam.com.au> writes:
Walter Bright wrote:
 Full closures in 2.007!
 
 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.023.zip
 
 http://www.digitalmars.com/d/changelog.html
 http://ftp.digitalmars.com/dmd.2.007.zip
Awesome! As usual, didn't see it coming. <g>. I think closures are going to create a pile of new D design patterns. The statically aligned data makes a difference to what I'm doing right now. Also, math functions which use math.poly have gained an instant speedup from this. Wasn't expecting it so soon. Thanks!
Nov 03 2007