Ownership and Borrowing
- Stack and heaps
fn main() {
let s = String::from("Hello");
}
borrow mutable ONCE
- long running owners
- refcount
Foreign-Function Interfaces (FFI)
Ownership and Borrowing
fn main() {
let s = String::from("Hello");
}
borrow mutable ONCE
Foreign-Function Interfaces (FFI)