We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bb7d65c + 2d3085f commit ae2a52cCopy full SHA for ae2a52c
src/memory-model.md
@@ -1,10 +1,5 @@
1
# Memory model
2
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*.
+Rust does not yet have a defined memory model. Various academics and industry
+are working on various proposals, but for now, this is an under-defined place
+in the language.
0 commit comments