Re: dmd 1.047 and 2.032 releases

2009-09-11 Thread Eldar Insafutdinov
Robert Jacques Wrote: > On Fri, 04 Sep 2009 04:40:51 -0400, Robert Jacques > wrote: > > > On Thu, 03 Sep 2009 19:45:44 -0400, Robert Jacques > > wrote: > > > >> Thanks for yet another great release, but.. has anyone else gotten DFL > >> to compile? (The latest svn of DFL worked fine in 2.

Re: dmd 1.047 and 2.032 releases

2009-09-08 Thread Robert Clipsham
Walter Bright wrote: Robert Clipsham wrote: You can tell it's a good release when you have to do more than a simple merge to get it working with ldc ;) I try to simplify things in the back end by moving more to the front end. Sounds like a good philosophy to me. All it does is return a comp

Re: dmd 1.047 and 2.032 releases

2009-09-08 Thread Robert Clipsham
Walter Bright wrote: Robert Clipsham wrote: Unlikely, sorry. LDC 2 is in a very early alpha state. Currently a custom version of druntime compiles (a patch has been submitted), how much of it functions correctly remains to be seen. Anything using the GC doesn't work as some of the GC code segf

Re: dmd 1.047 and 2.032 releases

2009-09-08 Thread Walter Bright
Robert Clipsham wrote: Unlikely, sorry. LDC 2 is in a very early alpha state. Currently a custom version of druntime compiles (a patch has been submitted), how much of it functions correctly remains to be seen. Anything using the GC doesn't work as some of the GC code segfaults, and about 90% o

Re: dmd 1.047 and 2.032 releases

2009-09-08 Thread Walter Bright
Robert Clipsham wrote: You can tell it's a good release when you have to do more than a simple merge to get it working with ldc ;) I try to simplify things in the back end by moving more to the front end. I've pretty much finished merging dmd 2.032 into ldc, there's one issue remaining though

Re: dmd 1.047 and 2.032 releases

2009-09-08 Thread Robert Clipsham
Robert Clipsham wrote: Walter Bright wrote: This will probably be the last OSX 10.5 release, the next should be 10.6. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.047.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.032.z

Re: dmd 1.047 and 2.032 releases

2009-09-07 Thread Robert Clipsham
Jason House wrote: Robert Clipsham Wrote: You can tell it's a good release when you have to do more than a simple merge to get it working with ldc ;) I've pretty much finished merging dmd 2.032 into ldc, ... Does this mean an official D2 LDC will be coming out shortly? Unlikely, sorry. L

Re: dmd 1.047 and 2.032 releases

2009-09-07 Thread Jason House
Robert Clipsham Wrote: > You can tell it's a good release when you have to do more than a simple > merge to get it working with ldc ;) > > I've pretty much finished merging dmd 2.032 into ldc, ... Does this mean an official D2 LDC will be coming out shortly?

Re: dmd 1.047 and 2.032 releases

2009-09-07 Thread Robert Clipsham
Walter Bright wrote: This will probably be the last OSX 10.5 release, the next should be 10.6. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.047.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.032.zip Many thanks to the n

Re: dmd 1.047 and 2.032 releases

2009-09-07 Thread Walter Bright
Don wrote: Walter Bright wrote: Don wrote: Oh. And the D1 spec doesn't disallow inline asm in CTFE. But CTFE asm is Not Going To Happen. I think that eventually we can get all of SafeD to work in CTFE, but inline asm isn't part of SafeD! SafeD doesn't appear to be properly defined in the

Re: dmd 1.047 and 2.032 releases

2009-09-07 Thread Don
Walter Bright wrote: Don wrote: Oh. And the D1 spec doesn't disallow inline asm in CTFE. But CTFE asm is Not Going To Happen. I think that eventually we can get all of SafeD to work in CTFE, but inline asm isn't part of SafeD! SafeD doesn't appear to be properly defined in the spec. And ce

Re: dmd 1.047 and 2.032 releases

2009-09-06 Thread Graham St Jack
Its great to see so many bugs being sorted out. However, I am having all kinds of trouble with "shared", which up until now I have been able to fairly easily sidestep. Here is a cut-down example of what I am trying to do, which is to have one thread acquiring data and passing it on to another t

Re: dmd 1.047 and 2.032 releases

2009-09-06 Thread Walter Bright
Anders Bergh wrote: Why the last for OS X 10.5? You can compile software for 10.5 on 10.6 just like you would compile for 10.4 on 10.5. Are you planning on using some Snow Leopard-only features? Apple apparently changed how the linker works. The 10.5 linker does not work as documented, and it

Re: dmd 1.047 and 2.032 releases

2009-09-06 Thread Anders Bergh
On Thu, Sep 3, 2009 at 10:16, Walter Bright wrote: > This will probably be the last OSX 10.5 release, the next should be 10.6. > > http://www.digitalmars.com/d/1.0/changelog.html > http://ftp.digitalmars.com/dmd.1.047.zip > > > http://www.digitalmars.com/d/2.0/changelog.html > http://ftp.digitalmar

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread Robert Jacques
On Fri, 04 Sep 2009 04:40:51 -0400, Robert Jacques wrote: On Thu, 03 Sep 2009 19:45:44 -0400, Robert Jacques wrote: Thanks for yet another great release, but.. has anyone else gotten DFL to compile? (The latest svn of DFL worked fine in 2.031) I've been trying to get it up and running

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread bearophile
Don: > >> but there's absolutely no reason why 'new' expressions should be > >> disallowed.< > I mean things like: > int [] a = new int[n]; > which is trivial -- about 5 lines of code. I hope to see such trivial thing in future DMDs :-) So it may simplify the code I've shown here: http://www.di

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread Walter Bright
Don wrote: Oh. And the D1 spec doesn't disallow inline asm in CTFE. But CTFE asm is Not Going To Happen. I think that eventually we can get all of SafeD to work in CTFE, but inline asm isn't part of SafeD!

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread Don
bearophile wrote: Don: CTFE is almost completely isolated from the rest of the compiler: it can't break anything that's not CTFE.< It's like having a compiler plus a D1 interpreter. In theory this duplication looks silly, in practice it seems handy. Interestingly, by *requiring* the comp

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread bearophile
Don: >CTFE is almost completely isolated from the rest of the compiler: it can't >break anything that's not CTFE.< It's like having a compiler plus a D1 interpreter. In theory this duplication looks silly, in practice it seems handy. >It is likely, for example, that unions will need to be di

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread Jacob Carlborg
On 9/4/09 01:45, Robert Jacques wrote: Thanks for yet another great release, but.. has anyone else gotten DFL to compile? (The latest svn of DFL worked fine in 2.031) I've been trying to get it up and running but I've been seeing really weird errors. It appears in several cases that various impo

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread Robert Jacques
On Thu, 03 Sep 2009 19:45:44 -0400, Robert Jacques wrote: Thanks for yet another great release, but.. has anyone else gotten DFL to compile? (The latest svn of DFL worked fine in 2.031) I've been trying to get it up and running but I've been seeing really weird errors. It appears in seve

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread Don
Leandro Lucarella wrote: Don, el 3 de septiembre a las 17:30 me escribiste: Leandro Lucarella wrote: Walter Bright, el 3 de septiembre a las 01:16 me escribiste: This will probably be the last OSX 10.5 release, the next should be 10.6. http://www.digitalmars.com/d/1.0/changelog.html http://

Re: dmd 1.047 and 2.032 releases

2009-09-04 Thread Don
Jarrett Billingsley wrote: On Thu, Sep 3, 2009 at 7:01 PM, Nick B wrote: Don wrote: Leandro Lucarella wrote: Walter Bright, el 3 de septiembre a las 01:16 me escribiste: Don't get me wrong, as I stated before, I'm really glad D1 get some new features/improvements, I just think the changes sho

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Robert Jacques
Thanks for yet another great release, but.. has anyone else gotten DFL to compile? (The latest svn of DFL worked fine in 2.031) I've been trying to get it up and running but I've been seeing really weird errors. It appears in several cases that various import statements are not being import

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Jarrett Billingsley
On Thu, Sep 3, 2009 at 7:01 PM, Nick B wrote: > Don wrote: >> >> Leandro Lucarella wrote: >>> >>> Walter Bright, el  3 de septiembre a las 01:16 me escribiste: >> >>> Don't get me wrong, as I stated before, I'm really glad D1 get some new >>> features/improvements, I just think the changes should b

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Nick B
Don wrote: Leandro Lucarella wrote: Walter Bright, el 3 de septiembre a las 01:16 me escribiste: Don't get me wrong, as I stated before, I'm really glad D1 get some new features/improvements, I just think the changes should be a little more tested before hit D1 (and new aditions to D1 should

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Andrei Alexandrescu
Walter Bright wrote: Andrei Alexandrescu wrote: Walter, could you please update changelog.dd from svn and then update the html changelog? done. I counted 102 fixed bugs in this release. Andrei

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Walter Bright
Andrei Alexandrescu wrote: Walter, could you please update changelog.dd from svn and then update the html changelog? done.

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Walter Bright
Don wrote: A few bugs are fixed but not listed in the changelog: 3077 crash exiting main() without result code 3100 ICE(cast.c) struct with members is shared 3253 DMD crashes on function pointer struct member initialization with function literal 3281 ICE(cod1.c) append returned struct to array

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Jarrett Billingsley
On Thu, Sep 3, 2009 at 4:16 AM, Walter Bright wrote: > This will probably be the last OSX 10.5 release, the next should be 10.6. > > http://www.digitalmars.com/d/1.0/changelog.html > http://ftp.digitalmars.com/dmd.1.047.zip > > > http://www.digitalmars.com/d/2.0/changelog.html > http://ftp.digitalm

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Leandro Lucarella
Don, el 3 de septiembre a las 17:30 me escribiste: > Leandro Lucarella wrote: > >Walter Bright, el 3 de septiembre a las 01:16 me escribiste: > >>This will probably be the last OSX 10.5 release, the next should be 10.6. > >> > >>http://www.digitalmars.com/d/1.0/changelog.html > >>http://ftp.digit

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Don
Leandro Lucarella wrote: Walter Bright, el 3 de septiembre a las 01:16 me escribiste: This will probably be the last OSX 10.5 release, the next should be 10.6. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.047.zip http://www.digitalmars.com/d/2.0/changelog.

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Leandro Lucarella
Walter Bright, el 3 de septiembre a las 01:16 me escribiste: > This will probably be the last OSX 10.5 release, the next should be 10.6. > > http://www.digitalmars.com/d/1.0/changelog.html > http://ftp.digitalmars.com/dmd.1.047.zip > > > http://www.digitalmars.com/d/2.0/changelog.html > http://

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Andrei Alexandrescu
Walter Bright wrote: This will probably be the last OSX 10.5 release, the next should be 10.6. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.047.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.032.zip Many thanks to the n

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread bearophile
Indeed, using CTFE will probably feel different after this release of D1/D2. Good work. I'd like to improve this Wikipedia page some more: http://en.wikipedia.org/wiki/Compile_time_function_execution So after all such bugfixes are there better ways to implement the following code (better = simp

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Lars T. Kyllingstad
Walter Bright wrote: This will probably be the last OSX 10.5 release, the next should be 10.6. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.047.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.032.zip Many thanks to the n

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Don
Walter Bright wrote: This will probably be the last OSX 10.5 release, the next should be 10.6. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.047.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.032.zip Many thanks to the n

Re: dmd 1.047 and 2.032 releases

2009-09-03 Thread Chad J
M-M-M-MONSTER KILL! The serious bug splatting action continues. Thank you Walter and contributors.

dmd 1.047 and 2.032 releases

2009-09-03 Thread Walter Bright
This will probably be the last OSX 10.5 release, the next should be 10.6. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.047.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.032.zip Many thanks to the numerous people who con