News for hackers. Stuff that matters.
Re:Why is Rust slightly slower than C? by tom_mellior on Thursday September 12, 2019 @07:21AM (#20950193)
> leaving intermediate values in registers and not writing them back to storage in variables known to the source code

C compilers (with optimization on) don't spill intermediates either.

Your decades of experience are appreciated, but apparently your decades of experience don't cover looking at what optimizing C compilers learned to do in the last 30 years or so.

> Bluntly, C doesn't support arrays, and that's a bummer for the programmer

That's true.

> and also execution speed.

That isn't, or at least you haven't demonstrated it.

There are no comments on this comment yet.