about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLindsey Kuper <lindsey@rockstargirl.org>2012-07-22 19:19:30 -0700
committerLindsey Kuper <lindsey@rockstargirl.org>2012-07-22 19:19:30 -0700
commit019a41bdb09c612e42717df2ae2148a29361842f (patch)
treec6ccc74328216323c92d2a14c278a63fb478903f
parentd9cbdf78656def0290e53353539681db612ecf1f (diff)
downloadrust-019a41bdb09c612e42717df2ae2148a29361842f.tar.gz
rust-019a41bdb09c612e42717df2ae2148a29361842f.zip
Further revisions suggested by nmatsakis (#2990).
-rw-r--r--doc/tutorial.md17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index 559faffed3d..4f03ee3cc80 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -1197,15 +1197,14 @@ Rust has three competing goals that inform its view of memory:
 
 ## How performance considerations influence the memory model
 
-Many languages that offer the kinds of memory safety guarantees that
-Rust does have a single allocation strategy: objects live on the heap,
-live for as long as they are needed, and are periodically
-garbage-collected. This approach is straightforward both in concept
-and in implementation, but has significant costs. Languages that take
-this approach tend to aggressively pursue ways to ameliorate
-allocation costs (think the Java Virtual Machine). Rust supports this
-strategy with _shared boxes_: memory allocated on the heap that may be
-referred to (shared) by multiple variables.
+Most languages that offer strong memory safety guarantees rely upon a
+garbage-collected heap to manage all of the objects. This approach is
+straightforward both in concept and in implementation, but has
+significant costs. Languages that take this approach tend to
+aggressively pursue ways to ameliorate allocation costs (think the
+Java Virtual Machine). Rust supports this strategy with _shared
+boxes_: memory allocated on the heap that may be referred to (shared)
+by multiple variables.
 
 By comparison, languages like C++ offer very precise control over
 where objects are allocated. In particular, it is common to put them