Hacker News new | ask | show | jobs
by ckcheng 117 days ago
> In the end it came down to Swift vs Rust, and Swift is strictly better in OO support and C++ interop

Why not D?

1 comments

Why not rust? It's popilar, in wide adoption, with wide support, without the baggage of C++. What'e the downside?
Well they already chose Swift over Rust because they said:

> Swift is strictly better in OO support and C++ interop

So I guess from their point of view that’s why not rust.

I don’t have a horse in the race.

I was genuinely interested in why they didn’t even consider D given they already ruled out rust for those particular reasons, for which it seems D would fulfill nicely.

It is not backward compatible, the library system is immature, and there is no variety of different compilers for the language.
> the library system is immature

Hoo boy, wait until you hear about the state of C++'s library "system"