▲ | anon-3988 3 days ago | |
i am sorry but how does point 1 and point 2 for safety work together? You don't want the program to corrupt your program but also does not want to immediately crash the moment some invariant is not being held? > Compile-time only: The borrow checker cannot fix logic bugs, prevent silent corruption, or make your CLI behave predictably. It only ensures memory rules are followed. Also not really true from my experience. There have been plenty of times where the borrow checker is a MASSIVE help in multithreaded context. |