Rather D1 then D2
Nemanja Borić
dlang at nemanjaboric.com
Sat Sep 22 08:48:37 UTC 2018
On Friday, 21 September 2018 at 21:07:57 UTC, Jonathan M Davis
wrote:
> The sad truth is that if you really do want to continue to use
> D1, you're going to have to maintain it yourself or find a
> group of people willing to do so;
Sociomantic "maintains" (well, much more in the past than today)
D1 compiler and you can find latest releases here (Ubuntu):
https://bintray.com/sociomantic-tsunami/dlang/dmd1 (direct link
https://bintray.com/sociomantic-tsunami/dlang/dmd1/v1.082.1#files) or you can compile https://github.com/dlang/dmd/tree/dmd-1.x yourself and hope that the compiler bug is fixed - we've certainly fixed a lot of them in the past years (decade?).
But - Sociomantic doesn't officially maintain D1 language (we're
in process of moving our entire codebase to D2 - which is a long
process, but we're getting there - checkout some of dconf videos
where it was talked about it) - it is just about fixing bugs
where ROI is good enough to justify fixing (which is in many
cases - just backporting D2 compiler fixes, which is also not
trivial), so don't expect any commitment, rather - expect this
commitment to stop.
That being said - I want to point out something that was already
mentioned here - it is possible to use D2 subsets that are "D1
minded" (for example, Sociomantic is not the best codebase to
look for modern D code), and our all D1 projects now compile as
D2 code after simple machine translation (take a look into
https://github.com/sociomantic-tsunami/ocean/ and run `make
d2conv` and check the output - `make DVER=2 ` will compile
generated D2 code and run unittests - don't forget to init git
submodules and to install dependencies -
https://bintray.com/sociomantic-tsunami/dlang/d1to2fix - or just
run in sociomantictsunami/dlangdevel docker image).
So it is possible to use D2 language and compiler and avoid all
the features that you don't like, at least to a reasonable
degree, and as a bonus you still get to cherry pick D2 features
you like (and there are some even for D1 minded person).
More information about the Digitalmars-d
mailing list