diff options
| author | bors <bors@rust-lang.org> | 2013-11-21 10:21:37 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-11-21 10:21:37 -0800 |
| commit | 97aaf42462ff35ad2bf097c8c1351e876d8d72b8 (patch) | |
| tree | 276449833a9ae1a9c24bc1e631582b462e09297c | |
| parent | 8464004c7692a79d2df375d3c249da27548dc370 (diff) | |
| parent | 1de47cb84286dd769b398da5d7dd1df2fd6f3406 (diff) | |
auto merge of #10587 : thestinger/rust/stack, r=pcwalton
| -rw-r--r-- | doc/rust.md | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/rust.md b/doc/rust.md index 459a1741170..3e274251ef6 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -1131,9 +1131,8 @@ block. let fptr: extern "C" fn() -> ~[int] = new_vec; ~~~~ -Extern functions may be called from Rust code, but -caution must be taken with respect to the size of the stack -segment, just as when calling an extern function normally. +Extern functions may be called directly from Rust code as Rust uses large, +contiguous stack segments like C. ### Type definitions @@ -3597,9 +3596,9 @@ and releases them back to its environment when they are no longer needed. The default implementation of the service-provider interface consists of the C runtime functions `malloc` and `free`. -The runtime memory-management system, in turn, supplies Rust tasks -with facilities for allocating, extending and releasing stacks, -as well as allocating and freeing heap data. +The runtime memory-management system, in turn, supplies Rust tasks with +facilities for allocating releasing stacks, as well as allocating and freeing +heap data. ### Built in types @@ -3762,7 +3761,6 @@ have come and gone during the course of Rust's development: Additional specific influences can be seen from the following languages: -* The stack-growth implementation of Go. * The structural algebraic types and compilation manager of SML. * The attribute and assembly systems of C#. * The references and deterministic destructor system of C++. |
