D1 is such a nice little language

Jesse Phillips jessekphillips+D at gmail.com
Thu Jun 24 10:03:37 PDT 2010


strtr Wrote:

> In relation to the recently decease request:
> How much of D1 won't compile on D2?
> Is there a D1-to-D2 guide and how about a comparison chart?

There is a page that covers the language changes from D1 to D2[1] Which actually points to a Migration Page[2] which I have not seen before.

> Is D2 worse as a first language, difficulty wise?
> Or is maybe the D2 safe subset a good first language?

I would say the only complication that would be an issue as a first language is the transitive cost, immutable. Even then these can be safely ignored. Understanding use of the standard library might be considered another issue, but it is common for tutorials to just gloss over the details and say "just do it this way for now."

I think D2 is a much better language and D1 to be a language that can compete with other languages. D2 has the issue of limited library support, but if you're someone who needs an existing library D1 isn't likely to be your language with that library.  I.e. someone new to the community who wants to get something done isn't likely to find what they need in D2 or D1.

1. http://www.digitalmars.com/d/2.0/features2.html
2. http://www.digitalmars.com/d/2.0/D1toD2.html


More information about the Digitalmars-d mailing list