November 2017
Intermediate to advanced
264 pages
5h 45m
English
There are situations in which even the Rust compiler cannot guarantee that our code will behave in a safe manner. This could occur when:
Rust allows us to do all of these, but we have to envelop this possibly dangerous code in an unsafe block:
unsafe {
// possibly dangerous code
}
This means that the programmer takes full responsibility for the code in the block. The unsafe block is a promise to the compiler that the danger does not leak ...
Read now
Unlock full access