D 1.076 and 2.061 release

Leandro Lucarella luca at llucax.com.ar
Thu Jan 3 12:27:31 PST 2013


Walter Bright, el  1 de January a las 15:46 me escribiste:
> The big news is Win64 is now supported (in alpha).
> 
> http://www.digitalmars.com/d/download.html
> 
> D 1.076 changelog: http://www.digitalmars.com/d/1.0/changelog.html

BTW, Changelogs looks extremely naked now, I think release notes are
really needed now. Al least for new features. Is far from ideal to make
people go through a bug report to know how they can adapt their code to
new features.

And sometimes bug reports are not updated on how things turned out, for
example #7041[1], a feature I implemented myself. The bug report is
outdated AFAIK, the title talks about a -di flags which doesn't even
exist, you actually have to go through the pull request[2] to see what
the hell is going on. And even then the behaviour of that pull request
was changed in a subsequent one[3], and there are no visible links
between those 2 pull requests.

So, unless you are a private investigator, you will have a very hard
time to know that what really happened is that now DMD show deprecations
as a warning message (compilation is not halted anymore) by default, and
there are 2 new compiler flags, -de (to get the old default behaviour to
make deprecation to be errors) and -dw, to explicitly enable the new
default behaviour (make them warnings) in case you changed it in a
config file and want to override it in the command line (so people
wanting the old behaviour by default can put -de in the dmd.conf file
and they can still override that default by using -dw when compiling).

The -d flag stay the same (silently ignore any deprecated feature or
symbol).

Anyway, at least for this particular change, the changelog is basically
useless, and I don't think the bug report is the right place to inform
users about compiler changes. Users don't care about the history and
discussion around a change, they just only want to know how to take
advantage of new features and how to fix their code (possibly with some
exceptions of course, in which case they can still go back to the bug
report and pull requests).

Glad that the long waited new release is out, though, and the release
process is still improving :)

Happy new year to everyone!

[1] http://d.puremagic.com/issues/show_bug.cgi?id=7041
[2] https://github.com/D-Programming-Language/dmd/pull/1185
[3] https://github.com/D-Programming-Language/dmd/pull/1287

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
UNA ARTISTA HACE JABONES CON SU PROPIA GRASA LUEGO DE UNA LIPOSUCCION
	-- Crónica TV


More information about the Digitalmars-d-announce mailing list