Ownership and Borrowing

  • Stack and heaps
 
fn main() {
	let s = String::from("Hello");
}

borrow mutable ONCE

  • long running owners
  • refcount

Foreign-Function Interfaces (FFI)