2 ms·
This is because this aspect of Rust is simply not yet defined. There are people working on it. Once it's agreed upon, it will be well-documented. Outside of th
by steveklabnik 9y ago
This is because this aspect of Rust is simply not yet defined. There are people working on it. Once it's agreed upon, it will be well-documented.
Outside of the memory model, there's been a few people putting a lot of work into the reference lately; it's been growing a lot. It's a tricky problem.
- mjw1007 9y agoThat's perhaps an excuse for having imperfect documentation. I don't think it's an excuse for it being in the state it's currently in. Have you looked at that chapter recently? It starts by saying « A Rust program's memory consists of a static set of items and a heap », and literally two sentences later it's talking about «the stack» as if the reader is supposed to know what that is (and as if there's only one stack).
- steveklabnik 9y agoSure. Please file bugs about stuff like this: https://github.com/rust-lang-nursery/reference/issues/new https://github.com/rust-lang-nursery/reference/issues/new That section of the reference is basically inherited from the very old days. Most of the work has been focused on the other parts. Sometimes it takes an outside perspective to notice these kinds of things. I appreciate you bringing it up. Filing a bug means that it won't get lost. If you don't want to, then I'm happy to on your behalf.