A D vs. Rust example
Paulo Pinto
pjmlp at progtools.org
Fri Oct 21 10:42:52 UTC 2022
On Friday, 21 October 2022 at 10:36:27 UTC, IGotD- wrote:
> On Friday, 21 October 2022 at 10:19:13 UTC, matheus wrote:
>>
>> But I think people are missing the point of Don Allen, he
>> showed a snipped code and its simplicity, and for it seems
>> it's not easy to do in some languages, at least without
>> changing a lot.
>
> I think the point is despite the example is very simple, it's
> required to have very detailed knowledge about the Rust
> compiler and its lifetime system in order to understand this
> problem. Sure you rewrite in some undefined "idiomatic Rust"
> but is it good language design when such detailed knowledge and
> order of statements is required?
>
> D is in the other end of this spectrum, it swallows almost
> anything.
Yeah, but the ecosystem doesn't swallow anything, that is the
problem.
More information about the Digitalmars-d
mailing list