rust-lang/rust-memory-model
Collecting examples and information to help design a memory model for Rust.
PythonApache-2.0
Issues
- 11
Unitialized memory
#42 opened by SimonSapin - 20
- 10
Clarify which inputs are permitted for the offset intrinsic (and the MIR binop)
#38 opened by RalfJung - 1
- 3
container_of / offset_of
#35 opened by diwic - 6
- 3
[MIR] do function calls consume their arguments?
#23 opened by arielb1 - 2
Forbid fabricating reference
#22 opened by sanxiyn - 7
"Tootsie Pop" model
#21 opened by nikomatsakis - 2
optimizing around unchecked-get
#20 opened by nikomatsakis - 11
- 5
Breaking changes we want to make
#9 opened by arielb1 - 3
- 7
- 18
- 45
Is it undefined behavior to hold an invalid reference, if it is never dereferenced.
#12 opened by mystor - 2
volatile and sensitive memory
#16 opened by nikomatsakis - 19
- 0
extra_load.md: Move to optimizations?
#6 opened by RalfJung - 4
<*const T>::offset should be offset_arith
#7 opened by strega-nil - 24
refcell_ref.md: RefCell::RefMut is fine
#5 opened by RalfJung - 10
vector reads and writes
#48 opened by gnzlbg - 5
Clarify when StorageLive is legal
#39 opened by RalfJung - 24
Passing safe references to empty enums
#2 opened by nikomatsakis - 1
Request: Weekly Summary Mail List?
#49 opened by naftulikay - 25
- 4
- 6
Code sample: nalgebra's swap_rows
#50 opened by HadrienG2 - 14
- 18
Defining Terms
#8 opened by strega-nil - 9
License? Copyright assignment?
#13 opened by strega-nil - 1
Unsafe Mutability Polymorphism
#31 opened by arielb1 - 5
Capability-based Aliasing Model
#28 opened by arielb1 - 11
Asserting-Conflicting-Access Model
#26 opened by nikomatsakis - 2
- 1
- 0
Basic `&mut` noalias optimization in unsafe code
#24 opened by arielb1