News for hackers. Stuff that matters.
Re:We rewrote a high-performance database in Rust by mamcx on Tuesday October 18, 2022 @05:56PM (#33254578)
Well...

   UNSAFE {   
      // TODO: Verify all the lines, all the time, are ok
      // Just like you do testing, documentation, security and all that
      // ok?
      #include <iostream>
      using namespace std;
      int main() {

         // YOUR CODE
      }   
   }
Re:We rewrote a high-performance database in Rust by lupire on Tuesday October 18, 2022 @05:59PM (#33254617)
What are you saying?
Re:We rewrote a high-performance database in Rust by mamcx on Tuesday October 18, 2022 @06:35PM (#33255003)
Well if the questions is:

> What are the main correctness risks in C++ if you just never use a raw pointer?

All the code on C/C++ IS a correctness "risks". Only constant, manual inspection could(maybe) say otherwise.

What Rust gives is significant reduction of the risks.