News for hackers. Stuff that matters.
Re:Why is Rust slightly slower than C? by kahlonel on Thursday September 12, 2019 @10:13AM (#20951644)
> it does not suffer from the pointer aliasing faults C has.

There's a `restrict` keyword in C99.

> const really means const, where in C the compiler has to assume any pointer-to-const might be use to write through

Lookup what `const int *const ptr` does in C.

Re:Why is Rust slightly slower than C? by account42 on Friday September 13, 2019 @06:59AM (#20960952)
Look up what (int*)ptr does in C.