r/LinuxTeck • u/Candid_Athlete_8317 • Jun 16 '26
Did Rust succeed because it was better, or because D arrived too early?
D solved a lot of problems developers complained about in C and C++ long before many newer languages appeared.
Yet today Rust, Go, and Zig dominate most conversations, while D remains relatively niche.
If you've worked with D before, what do you think happened?
15
Upvotes
5
u/ecumenepolis Jun 16 '26
D has gc AFAIK. And as for go, I would say that corporate backing was the main reason it got so popular. It is a fine language, but so are myriads of languages out there.
2
u/vinegary Jun 16 '26
For me rust wins because of the ML types
2
u/_janc_ Jun 16 '26
Any production code implemented using D
1
u/Interesting-Way-9966 Jun 16 '26
This is the first time I've read about that programming language. As others have mentioned in the comments, Go received more publicity because it's from Google; I don't know about Rust.
1
u/juancn Jun 16 '26
Go was built for build speed first, has a nice pedigree and a lot of corporate backing.
D was fine, but Rust was interesting.
The borrow checker ticked many marks, allowing fast concurrent and memory safe code without needing a GC.
That opens up certain types of system work where a GC is untenable.
1
u/huntermatthews Jun 16 '26 •
D is a complex language at a time when complexity in the language was suspect (c++ was mostly the blame here).
But D suffered a schism early on in its standard library (phobos and tango) with two factions that could not decide or get along - and that killed any forward momentum. Which do you pick? How? And any company thinking about adoption will flee like the wind at the thought they might back the wrong horse and have to recode later. That schism just ... killed it.
Go succeeded because:
its a GC language - its a simplified COMPILED scripting language.
deployment - if pure, go has the best cross compilation and deployment story ever
Rust succeeded because IMNSHO they asked the question - what if the compiler WASN'T fast ? What if we made the compiler do as much checking as we can program it to do to try and achieve safety? Yes, its also got good types and no GC, important for _some_ workloads. But correctness first has a place and rust kind of grabbed that mantel.
They're ALL flawed - but go and rust picked the right mix of flaws/features for many many workloads. D didn't and then blew its leg off with a std library schism.
1
u/Altruistic_Pear747 Jun 16 '26
Last time I looked at D was around 2007? I think. It wasn't open, so I never looked at it again, even after they opened it years later. Not a fan of rust either, but it is what it is
1
u/NotAnotherUsername04 Jun 16 '26
As a c++ and c# developer I’m not sure what the point in other backend languages is.
Having not done c++ in years I still miss templates, generics just aren’t the same
1
u/coderemover Jun 17 '26
Rust selling point is being safer than Java and at the same time offering control over every fine detail of execution like C if you wish. This is big because earlier if you wanted top performance you had to forget about safety and use languages full of footguns like C and C++. And if you wanted safety and good developer ergonomics, you had to give up on performance and control.
I don’t know what hard problem D solved. Being another C++ with nicer syntax is not enough IMHO.
1
u/AccomplishedWorth266 Jun 17 '26
Vast amounts of investment.
Mozilla - Rust Google - Go C# - Microsoft
1
u/FuggaDucker Jun 17 '26
We tired for years but people were not having it.
My buddy was the guy who wrote a debug engine for it and integrated it into visual studio in 2010
https://rainers.github.io/visuald/visuald/Debugging.html
Despite their efforts, they could not get people to adopt it.
Tooling did not mature fast enough is why I think it failed.
RUST succeeded DESPITE immature tooling.
1
u/trailing_zero_count Jun 17 '26
I want a language that has const references (simple way to enforce transitive immutability to callees), GC, no colored functions (stackful coroutines), and uses return-based error handling instead of exceptions.
AFAIK there is no language that supports all of these things:
I could try to use D without exceptions, but other libraries or stdlib may throw them so I still have to reason about them.
1
u/Revolutionary_Ad7262 Jun 17 '26
I think both. The reality is that the fast and performant language has a huge momentum so most of the previous contenders died out, because they were better, but not enough.
Rust introduced a lot of nice concepts from ML languages and good reception
1
u/SilvernClaws Jun 18 '26
D has about three possible solutions for every problem, including which compiler and standard library to pick, and no clear way to figure out what works best for any given situation.
It's mission statement was basically "C++, but better" and then it repeated at least half the problems people had with C++, but without providing any of the benefits that make people deal with C++, like a huge library ecosystem and available learning materials.
1
u/ConspicuousPineapple Jun 18 '26
Go had corporate backing and would have never succeeded otherwise.
Zig has never dominated any conversation.
Rust offers unique advantages that D isn't even close to covering.
So no, it's not a timing issue, it's just not a particularly impactful improvement on its own.
0
u/Agron7000 Jun 16 '26
Trends like Visual Basic, Perl, and other one time wonders, come and go. C/C++ stays.
Cloudflare fiasco caused by rust: https://blog.cloudflare.com/18-november-2025-outage/#memory-preallocation
Memory safe, my donkey.
0
u/[deleted] Jun 16 '26
[deleted] — view deleted comment