News for hackers. Stuff that matters.
Re:Rust vs. Go by SomeCallMeTim on Wednesday January 18, 2017 @05:28PM (#13430983)
I've never used D, but I think it was written before the developer community was ready for a new language.

Now that developers are ready for new languages, D is already an "old, failed" language.

It reminds me of selling a house. If you put your house during a hot market and go into contract right away, but then your buyer can't come up with the money and it falls out of contract three weeks later, bringing your house back on the market it's now no longer "newly available!", and everyone thinks that, because it didn't sell in the first week, there must be something wrong with it.

My personal entirely uninformed opinion of D is exactly that: It's an older, "failed" language. It's not on the upswing in popularity. It didn't catch peoples' hearts and minds. And if only because of network effects, therefore it's not worth learning, simply because no one else is learning it, and so therefore its ecosystem isn't expanding exponentially.

Success of technologies is far less merit than one might expect. See: VHS vs. Beta.

Re:Rust vs. Go by qznc on Wednesday January 18, 2017 @05:48PM (#13431163)
You are right. D had some serious failures in the version 1 times, which tainted its image. However, the community is still growing. Slower than Rust, but moving in a positive direction.

During the last year the D foundation was founded and is spinning up operations. The 2016 D conference had a visitor record again with over 100 people. Downloads are growing over the years [0]. The package manager dub is now fully integrated. You can find success stories on the blog [1] and companies using it [2]. There are books.

[0] http://erdani.com/d/downloads.daily.png [1] https://dlang.org/blog/ [2] https://dlang.org/orgs-using-d.html

Re:Rust vs. Go by flukus on Thursday January 19, 2017 @12:03AM (#13433165)
It was also commercial and closed source in it's early years wasn't it? I don't think there is a place for commercial compilers anymore.
Re:Rust vs. Go by qznc on Thursday January 19, 2017 @04:06AM (#13434255)
D was always Open Source and free as in beer. It was not Free Software, which is a problem for inclusion in Debian main et al. You get the package from a third-party repo.

The reference compiler backend is still only free as in beer, so there seems to be no way to include "DMD" in Debian. However, LDC (reference frontend + LLVM backend) is practically in sync with DMD today.

The advantage of DMD is faster compilation. LDC gives you faster programs. So, for development I prefer DMD for the faster iteration.

Re:Rust vs. Go by flukus on Thursday January 19, 2017 @06:03PM (#13440288)
Was it restriction free or did it have limitations on things like stack size like a lot of commercial compilers did?
Re:Rust vs. Go by qznc on Friday January 20, 2017 @02:02AM (#13442138)
No restrictions. There was nothing you could pay for in D.

The backend comes from the Digital Mars C++ compiler, which is/was commercial. That is probably the source of the confusion.

Re:Rust vs. Go by tonyedgecombe on Thursday January 19, 2017 @03:31AM (#13434094)
It will be a shame if that's the case.
Re:Rust vs. Go by flukus on Thursday January 19, 2017 @06:04PM (#13440295)
Why is that? History with commercial compilers have shown them to create nothing but vendor lock-in.
Re:Rust vs. Go by tonyedgecombe on Friday January 20, 2017 @06:38AM (#13443086)
More choice, I don't want an open source mono-culture.