Rust speed?

Content:

Original link: C vs Rust: POSIX Shared Memory Ring Buffer Latency / LinkedIn.

The usual pro-Rust story is that Rust is super fast bceause all the checking is compile time.

But here is a story about someone seeing some latency issues with Rust.

Maybe it is a bad benchmark not reflecting real world issues well. Maybe the Rust code can become as fast as the C code by specifying enough advanced compiler flags.

But it seems like it is easy to write code that with normal compiler flags give latency issues in Rust that does not exist in C.

Comments: