Why is D unpopular?
Walter Bright
newshound2 at digitalmars.com
Sun May 1 20:31:14 UTC 2022
On 5/1/2022 6:35 AM, Guillaume Piolat wrote:
> **slices**
> Go and Rust had it from the start, Nimrod got them etc.
> I unfortunately lack the time to do a complete research about prior, because
> it seems surprising to me no other native language had them before D. I have a
> strong feeling that like other successful features, the experience of D was
> strongly influencing other designs.
D slices date back to 2001 or so. I don't know any language before that that had
such a thing as part of the language. Of course people would do it in ad-hoc
manners.
> In sharp contrast, there are less-impressive ideas that - like it or not - were
> left behind:
> - pure
> - TLS by default
> - shared
> - transitive immutability
> - insert features you hate here
I think constexpr in C++ implies pure. Rust kinda sorta has transitivity, it's
inherent to its borrowing system.
More information about the Digitalmars-d
mailing list