Iterators and Ranges: Comparing C++ to D to Rust

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Tue Jun 15 11:18:15 UTC 2021


On Tuesday, 15 June 2021 at 11:12:09 UTC, Ola Fosheim Grøstad 
wrote:
> On Tuesday, 15 June 2021 at 10:53:20 UTC, Paulo Pinto wrote:
>> +1 We already have enough languages where performance trumps 
>> safety.
>
> This is close to impossible to achieve because of aliasing.

Keep in mind that anything with references in it that can be used 
to build up chains can be a source for aliasing.

How to do you prove that a graph/linked-list is not included in 
another graph/linked-list?

Damn hard.



More information about the Digitalmars-d mailing list