Fantastic exchange from DConf
Ola Fosheim Grøstad via Digitalmars-d
digitalmars-d at puremagic.com
Sun May 14 14:08:59 PDT 2017
On Sunday, 14 May 2017 at 21:01:40 UTC, Jack Stouffer wrote:
> On Sunday, 14 May 2017 at 10:10:41 UTC, Dibyendu Majumdar wrote:
>> b) If you want to do things that C allows you to do, then Rust
>> is no more safer than C.
>
> That's the entire bloody point isn't it? Maybe you shouldn't be
> doing a lot of the things that C allows you to do.
Like building a graph?
Sure, Rust is perfect if you can model your world like a tree,
but that is usually not what you want if you are looking for
performance.
You could replace pointers with integer-ids, but that is just
emulating pointers with a construct that may be harder to check
for in an automated fashion. So that is not a good solution
either.
More information about the Digitalmars-d
mailing list