3 ms·
If I'm reaching for Rust it's more than likely because I want it's borrow checker and pattern matching on enumerated types. To my knowledge D has neither of th
by zaphar 7y ago
If I'm reaching for Rust it's more than likely because I want it's borrow checker and pattern matching on enumerated types.
To my knowledge D has neither of those so it's not really in the running here.
- earenndil 7y agoA borrow checker is currently in development for d, and pattern matching has been pseudo-implemented with metaprogramming.
- gmfawcett 7y ago"In the running" for what? Your personal list of preferences? There's no need to gate-keep this discussion because you favour pattern matching and borrow checking.
- ajross 7y agoIt was a personal statement, that's not gatekeeping. A more detached way to make the same point was that D didn't succeed (in the sense of market share) because it didn't reach "far enough" beyond what could already be done with C and C++. It brought real features to the table, but not "killer" ones. Rust did, which is why it's everyone's favorite new toy and why it's been largely (but not entirely, c.f. the linked article) forgiven for flaws like slow build times.