A D vs. Rust example

Imperatorn johan_forsberg_86 at hotmail.com
Fri Oct 21 10:57:10 UTC 2022


On Friday, 21 October 2022 at 10:42:52 UTC, Paulo Pinto wrote:
> On Friday, 21 October 2022 at 10:36:27 UTC, IGotD- wrote:
>> On Friday, 21 October 2022 at 10:19:13 UTC, matheus wrote:
>>> [...]
>>
>> 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.

Yes, the ecosystem is the problem. Not the language


More information about the Digitalmars-d mailing list