Skip to content

Raw Pointers practice problems in Rust

Difficulty:
Category & tags Filters active
Category:
Tag:

Showing 8 of 8

Title Difficulty
C strings and ownership across FFI Medium
Pointer arithmetic: offset, add, sub, wrapping_* Medium
Provenance: a pointer is not an integer Hard
ptr::read, write, copy, copy_nonoverlapping, drop_in_place Medium
&raw const / &raw mut: a pointer without a reference Medium
Raw pointers: *const T and *mut T Easy
unsafe impl Send, and the disjoint-capture trap Hard
What unsafe allows, and what it does not change Easy