Why are you using D instead of Rust
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Sun Oct 24 07:47:39 UTC 2021
On Saturday, 23 October 2021 at 04:25:21 UTC, Dr Machine Code
wrote:
> Just would like to know you all opinions
Why did you pick Rust specifically?
I am not using either for anything that matters. Mostly because I
haven't found a case where D or Rust provided a foundation to
build on that others don't. Rust, as a language, is trying to
solve a problem I usually don't have, at a significant modeling
cost. Their approach might be worthwhile for larger executables
built by larger teams.
Rust seems to have one major feature (tracking resource use). D
is trying to provide all features and not really excelling at any
particular domain. What prevents D from pursuing a multi paradigm
approach is that it lacks a modular compiler implementation, so
it has hit an evolutionary wall.
Rust has more of a cultural wall that will keep it true to its
main focus, but that also prevents evolution. Rust and C++
attract programmers that accept complexity, as such, they are
likely to become more complex over time. So programmers that feel
those languages are difficult to learn are unlikely to be happy
with where they are heading. Some might argue that D has
comparable cultural challenges.
Right now it is difficult to say where D is heading. Seems to me
that a restructuring of the compiler is needed, but there does
not seem to be plan for it, so it is ulikely to happen.
More information about the Digitalmars-d
mailing list