News for hackers. Stuff that matters.
Re:Nphysics – 2 and 3-dimensional rigid body physics engine ... by evincarofautumn on Monday September 02, 2013 @12:30AM (#6313457)
Anecdotally yes, within a few percent, depending on what you measure. Safe code tends not to perform as well as unsafe code, but this is also true in C++—most applications just tend to err (and I mean err) on the side of performance.
Re:Nphysics – 2 and 3-dimensional rigid body physics engine ... by sanxiyn on Monday September 02, 2013 @03:18AM (#6313861)
The difference is that in Rust you can write unsafe implementation of safe interface. In C++ you cannot specify safe interface. (You can and should document memory management assumptions in C++, but C++ compiler does not enforce such documentations.)