Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Don
Moritz Warning wrote: On Fri, 01 Jan 2010 22:35:12 +, Moritz Warning wrote: On Fri, 01 Jan 2010 19:31:49 +0100, Don wrote: Moritz Warning wrote: On Thu, 31 Dec 2009 21:22:58 +0100, grauzone wrote: bearophile wrote: grauzone: But I have a problem: the compiler is either extremely slow

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Moritz Warning
On Fri, 01 Jan 2010 22:35:12 +, Moritz Warning wrote: > On Fri, 01 Jan 2010 19:31:49 +0100, Don wrote: > >> Moritz Warning wrote: >>> On Thu, 31 Dec 2009 21:22:58 +0100, grauzone wrote: >>> bearophile wrote: > grauzone: >> But I have a problem: the compiler is either extremely s

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Moritz Warning
On Fri, 01 Jan 2010 19:31:49 +0100, Don wrote: > Moritz Warning wrote: >> On Thu, 31 Dec 2009 21:22:58 +0100, grauzone wrote: >> >>> bearophile wrote: grauzone: > But I have a problem: the compiler is either extremely slow for me, > or is stuck in an endless loop. All it does is to s

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Don
Moritz Warning wrote: On Thu, 31 Dec 2009 21:22:58 +0100, grauzone wrote: bearophile wrote: grauzone: But I have a problem: the compiler is either extremely slow for me, or is stuck in an endless loop. All it does is to slowly allocate memory. I aborted the compilation after ~ 20 minutes and

Re: D in the ix magazine about "programming today"

2010-01-01 Thread Nick Sabalausky
"Moritz Warning" wrote in message news:hhlcd1$223...@digitalmars.com... > On Fri, 01 Jan 2010 12:41:30 -0500, Nick Sabalausky wrote: > >> "hello there" wrote in message >> news:hhl737$1pg...@digitalmars.com... >>> (dsource.org is messed up, some library is alpha, beta, abandoned, >>> incomplete

Re: D in the ix magazine about "programming today"

2010-01-01 Thread Moritz Warning
On Fri, 01 Jan 2010 12:41:30 -0500, Nick Sabalausky wrote: > "hello there" wrote in message > news:hhl737$1pg...@digitalmars.com... >> (dsource.org is messed up, some library is alpha, beta, abandoned, >> incomplete, not compile etc). >> >> > There's an update to dsource.org in the works that wi

Re: D in the ix magazine about "programming today"

2010-01-01 Thread Nick Sabalausky
"hello there" wrote in message news:hhl737$1pg...@digitalmars.com... > (dsource.org is messed up, some library is alpha, beta, abandoned, > incomplete, not compile etc). > There's an update to dsource.org in the works that will make it a lot easier to sort out the active stable stuff from eve

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Michel Fortin
On 2009-12-31 13:48:09 -0500, Walter Bright said: Happy New Year! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.054.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.038.zip Many thanks to the numerous people who contribu

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Steven Schveighoffer
On Fri, 01 Jan 2010 11:16:00 -0500, Andrei Alexandrescu wrote: Well I'm sorry to tell that inout is useless as currently implemented. One important motivating use case was: inout(char)[] blah(inout(char)[] input) { return input; } void main() { blah("xyz"); blah("xyz".dup);

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Moritz Warning
On Thu, 31 Dec 2009 21:22:58 +0100, grauzone wrote: > bearophile wrote: >> grauzone: >>> But I have a problem: the compiler is either extremely slow for me, or >>> is stuck in an endless loop. All it does is to slowly allocate memory. >>> I aborted the compilation after ~ 20 minutes and 2 GB RAM a

Re: D in the ix magazine about "programming today"

2010-01-01 Thread hello there
this is what i think about D. I don't mean to insult people. thanks.

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Andrei Alexandrescu
Steven Schveighoffer wrote: On Thu, 31 Dec 2009 16:20:08 -0500, Walter Bright wrote: Steven Schveighoffer wrote: (I'm assuming bug 1961('scoped const') is considered to be fixed). Sadly, it's not fixed yet :( struct S { int x; inout(int)* getX() inout { return &x;} } void main()

Re: D in the ix magazine about "programming today"

2010-01-01 Thread hello there
hi, i am c# programmer. i am still junior compare to all of you guys. i've been monitoring d for 1 year. who knows I will use it too. Extrawurst Wrote: > "And D [..] is not going to become big enough [..] cause there is no big > company backing it up" > - well this is quite a controversal state

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Moritz Warning
On Thu, 31 Dec 2009 21:03:25 +0100, grauzone wrote: > Walter Bright wrote: >> Happy New Year! >> >> http://www.digitalmars.com/d/1.0/changelog.html >> http://ftp.digitalmars.com/dmd.1.054.zip >> >> >> http://www.digitalmars.com/d/2.0/changelog.html >> http://ftp.digitalmars.com/dmd.2.038.zip >>

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Jason House
Steven Schveighoffer wrote: > The only thing I could get to work is this: > > > struct S > { > int x; > } > > inout(int *) getSX(inout S* s) { return &s.x;} > > void main() > { > S s; > const(S)* sp = &s; > int *x = getSX(&s); > //int *y = getSX(sp); // uncomment this

Re: dmd 1.054 and 2.038 release

2010-01-01 Thread Steven Schveighoffer
On Thu, 31 Dec 2009 16:20:08 -0500, Walter Bright wrote: Steven Schveighoffer wrote: (I'm assuming bug 1961('scoped const') is considered to be fixed). Sadly, it's not fixed yet :( struct S { int x; inout(int)* getX() inout { return &x;} } void main() { S s; int *x = s.g