Skip to content
Snippets Groups Projects
Commit a4bed8ae authored by Per's avatar Per
Browse files

fix

parent a7fc5d43
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ There are several advantages with the Rust memory model. To name a few: ...@@ -12,7 +12,7 @@ There are several advantages with the Rust memory model. To name a few:
* The Rust memory model allows for "fearless programming", i.e., as a programmer you don't have to focus efforts on memory safety, the compiler will stop you if you do something potentially dangerous; * The Rust memory model allows for "fearless programming", i.e., as a programmer you don't have to focus efforts on memory safety, the compiler will stop you if you do something potentially dangerous;
* Programming errors that indirectly lead to memory errors can be spoted at compile time. (E.g, attempting to change the lenght of an array `a` inside an iterator over `a` will be spoted by the compiler.); * Programming errors that indirectly lead to memory errors can be spoted at compile time. (E.g, attempting to change the lenght of an array `a` inside an iterator over `a` will be spotted by the compiler and yielt an error.);
* The Rust memory model allows for aggressive optimization, i.e., the compiler will host detailed information regarding the mutability of references and make *safe* assumpitions leading to efficient implementations. * The Rust memory model allows for aggressive optimization, i.e., the compiler will host detailed information regarding the mutability of references and make *safe* assumpitions leading to efficient implementations.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment