Skip to content

Commit ae2a52c

Browse files
authored
Merge pull request rust-lang#397 from rust-lang-nursery/memory-model
admit we don't have a memory model
2 parents bb7d65c + 2d3085f commit ae2a52c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/memory-model.md

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# Memory model
22

3-
A Rust program's memory consists of a static set of *items* and a *heap*.
4-
Immutable portions of the heap may be safely shared between threads, mutable
5-
portions may not be safely shared, but several mechanisms for effectively-safe
6-
sharing of mutable values, built on unsafe code but enforcing a safe locking
7-
discipline, exist in the standard library.
8-
9-
Allocations in the stack consist of *variables*, and allocations in the heap
10-
consist of *boxes*.
3+
Rust does not yet have a defined memory model. Various academics and industry
4+
are working on various proposals, but for now, this is an under-defined place
5+
in the language.

0 commit comments

Comments
 (0)