In this chapter, we will look at situations where we have to leave safety boundaries, such as when interfacing with C programs. Rust minimizes potential dangers when doing this.
We will discuss the following topics:
- When is code unsafe
- Raw pointers
- Interfacing with C
- Inlining assembly code
- Calling Rust from other languages