News for hackers. Stuff that matters.
Re:Microsoft is to enable Rust use for Windows 11 kernel by jackmott42 on Friday April 28, 2023 @09:25AM (#35741023)
Often the workaround to graph representations that safe Rust can't do with the usual pointer approach is faster. You keep the data in an array, which improves your cache hit rate. Even C++ programmers will often use the same workaround either for safety or performance reasons.

As for overall performance in real programs, Rust seems to consistently do as well or better than C++ programs as the cases from Microsoft here show.

There are no comments on this comment yet.