Re:Ask HN: Why do you use Rust, when D is available?
by crazypython on Friday June 12, 2020 @08:08AM
(#23498403)
D does have smart people working on it, but like you said, maybe not enough. Walter Bright, creator of D, single-handedly created the first C++ compiler that compiled directly to machine code. Andrei Alexandrescu was on the C++ committee.
Re:Ask HN: Why do you use Rust, when D is available?
by datman347 on Saturday June 13, 2020 @10:23AM
(#23509543)
Yes it is very much still a WIP, what is currently implemented, how it is implemented and the fact it is already in the compiler (without a switch) is rather disappointing. Unless the implementation drastically changes, the outlook for the feature is not good at all.
Re:Ask HN: Why do you use Rust, when D is available?
by vmchale on Friday June 12, 2020 @01:55PM
(#23501829)
Also D has a gcc backend.
Which is nice but it's still missing some of Rust's features.
Re:Ask HN: Why do you use Rust, when D is available?
by welkam on Friday June 12, 2020 @05:25PM
(#23504070)
Its more than that. D is part of GCC - The GNU Compiler Collection. Meaning that if you use linux and have recent GCC you already have D compiler.
Re:Ask HN: Why do you use Rust, when D is available?
by datman347 on Saturday June 13, 2020 @10:20AM
(#23509517)
Don't know anyone that uses the D GCC compiler, it is still playing catch up. The frequency of new D releases with intended and unintended breaking changes, usually source only ever compiles for a very narrow range of versions of D. What people usually focus on is the latest, unless there is a new bug that prevents them from using the newest version.
https://dlang.org/blog/2019/07/15/ownership-and-borrowing-in...
Basically D just needs that big break to actually get things done. There are some absolutely brilliant people working on D but there's only so much sweat people will donate (some people are paid but I imagine rust probably has upwards of a hundred full time staff given that Mozilla and Microsoft use it in an official capacity)