Skip to content

Commit 53b50df

Browse files
committed
---
yaml --- r: 33182 b: refs/heads/snap-stage3 c: d9317a1 h: refs/heads/master v: v3
1 parent 8f18758 commit 53b50df

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 6da09c3b437dad240218b91ea06c301982764152
4+
refs/heads/snap-stage3: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/doc/tutorial.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -988,16 +988,17 @@ illuminate several of Rust's unique features as we encounter them.
988988

989989
Rust has three competing goals that inform its view of memory:
990990

991-
* Memory safety: memory that is managed by and is accessible to the
992-
Rust language must be guaranteed to be valid; under normal
991+
* Memory safety: Memory that is managed by and is accessible to the
992+
Rust language must be guaranteed to be valid. Under normal
993993
circumstances it must be impossible for Rust to trigger a
994-
segmentation fault or leak memory
995-
* Performance: high-performance low-level code must be able to employ
996-
a number of allocation strategies; low-performance high-level code
997-
must be able to employ a single, garbage-collection-based, heap
998-
allocation strategy
999-
* Concurrency: Rust must maintain memory safety guarantees, even for
1000-
code running in parallel
994+
segmentation fault or leak memory.
995+
* Performance: High-performance low-level code must be able to employ
996+
a number of allocation strategies. Tracing garbage collection must be
997+
optional and, if it is not desired, memory safety must not be compromised.
998+
Less performance-critical, high-level code should be able to employ a single,
999+
garbage-collection-based, heap allocation strategy.
1000+
* Concurrency: Rust code must be free of in-memory data races. (Note that other
1001+
types of races are still possible.)
10011002

10021003
## How performance considerations influence the memory model
10031004

0 commit comments

Comments
 (0)