You got me excited, so I decided to give GDC another try.  I cloned the repo, and using GCC 4.4.5, it compiled without errors.<br>I started following the examples in TDPL, but the Stat program on page 22 gives the following errors:<br>
<br>t1.d:33: Error: void has no value<br>t1.d:33: Error: incompatible types for ((readf(" %s ",& x)) == (1)): 'void' and 'int'<br><br>is there a typo in the code, or is this some kind of bug in GDC?<br>
<br><div class="gmail_quote">On Thu, Dec 23, 2010 at 3:16 PM, Jonathan M Davis <span dir="ltr"><<a href="mailto:jmdavisProg@gmx.com">jmdavisProg@gmx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Thursday 23 December 2010 12:43:11 Thomas Mader wrote:<br>
> Am 2010-12-23 21:01, schrieb spir:<br>
> > On Thu, 23 Dec 2010 17:41:06 +0100<br>
> ><br>
> > Thomas Mader<<a href="mailto:thomas.mader@gmail.com">thomas.mader@gmail.com</a>>  wrote:<br>
> >> I think it's very important for D to step into the corporate world to<br>
> >> get more stability, a bigger community and therefore a stronger<br>
> >> toolchain. For this to happen companies need trust in the future of the<br>
> >> project and the future are the people and the infrastructure behind D.<br>
> ><br>
> > This is true, but having important corporate investment would also<br>
> > strongly freeze the language in a premature state. It's too early (for<br>
> > D2).<br>
> ><br>
> > Denis<br>
> > -- -- -- -- -- -- --<br>
> > vit esse estrany ☣<br>
> ><br>
> > <a href="http://spir.wikidot.com" target="_blank">spir.wikidot.com</a><br>
><br>
> I agree but I must confess that I'm confused about the state of D2.<br>
> It's said that for new projects someone should use D2 but I often<br>
> recognize that it is not considered ready/finished yet. On the other<br>
> hand I also read somewhere that with the release of the book "The D<br>
> programming language" D2 is finalized?<br>
><br>
> Can somebody please enlighten me on this?<br>
<br>
</div></div>With the release of TDPL, the D spec is no longer undergoing massive changes<br>
with each release. It is mostly finalized. However, there have been some issues<br>
that have come up or which were not 100% sorted out prior to TDPL being<br>
released, so some changes to the spec may be made. They will, however, only be<br>
made as necessary, and there shouldn't be very many of them. Also, they'd mostly<br>
deal with fancier features such as inout or alias this.<br>
<br>
That being said, regardless of the state of the spec, there's the state of the<br>
compiler and the standard libraries. The compiler continues to progress, but it<br>
has plenty of bugs in it still, and it has yet to implement everything in TDPL<br>
(e.g. you can currently only have one alias this per class or struct instead of<br>
multiple like TDPL says), though it has implemented almost all of it. The<br>
compiler is stable enough that you should be able to write code in it - even for<br>
larger projects - just fine. But you will run into bugs. So, if you want rock-<br>
solid stability, then it's not up-to-snuff yet. But it works quite well overall,<br>
and many consider the benefits to far outweigh the problems. And the compiler<br>
continues to improve with each release, so the number of problems is<br>
diminishing.<br>
<br>
Phobos, however, continues to be in flux and is definitely not finalized. Much of<br>
it is pretty fixed and won't be undergoing major changes, but other parts will<br>
continue to change as development continues. Some modules will be removed<br>
(though not many) and others will be added. The release of TDPL did not indicate<br>
the finalization of Phobos at all. Phobos is very much still a work in progress.<br>
So, while you can mostly rely on it not changing enough to force you to change<br>
code with a new compiler release, it definitely does happen at least some of the<br>
time.<br>
<br>
So, D2 is definitely ready for use, but it's still rough around the edges.<br>
Whether it's appropriate or not far a particular project likely depends on how<br>
mission critical the project is.<br>
<font color="#888888"><br>
- Jonathan M Davis<br>
</font></blockquote></div><br>