Rust references and borrowing from the inside
Now it is time to talk about references and borrowing. To understand this topic, first check out this post where I talk about ownership and move semantics. As we have seen in the named article, the way Rust manages memory allocations is rather unique. This is also true when we talk about referencing some place in the memory, something that can be achieved in C with pointers. GDB In this post I am going to explore what is happening in memory using the GNU Debugger (gdb) with the special command rust-gdb: ...