News for hackers. Stuff that matters.
Re:Translating Quake 3 into Rust by mlindner on Tuesday January 07, 2020 @04:17PM (#21984977)
I'd also add that there's LLVM bugs that prevent Rust from getting faster.

https://stackoverflow.com/questions/57259126/why-does-the-ru...

Theoretically I would argue that Rust could get faster than C, because it can make stronger guarantees about the code that would allow further and much more complex optimizations of the code. You could argue that the set of possible outputs of a piece of C code is much wider than a piece of Rust code and you could compile the code down to some sort of state machine that equivalently represents the original code in a more compact form. The more well defined the outputs are, the more minimal the output representation could be.

There are no comments on this comment yet.