• 1 Post
  • 3 Comments
Joined 1 year ago
cake
Cake day: July 4th, 2023

help-circle


  • Can we stop pretending Rust doesn’t take performance trade-offs? Of course if you compare it one to one its roughly the same, since it’s compiled. But Optimizing memory for cache hits becomes a lot more difficult in Rust, to the point where you have to use unsafe. And unsafe Rust has more undefined behavior than C. In my opinion C is more safe than unsafe Rust.

    If you want normal performance its a good Language, but once you need to Optimize memory, which is usually the bottleneck, You are out of luck.