You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, the tutorial shouldn't be mentioning exchange/local heap at all because it's easier to just say Owned things are sendable. It's not actually accurate that unique pointers/vectors are allocated on the exchange heap, since that's only true if they don't contain managed pointers.
It might make sense to talk about this in the language reference but... it would make even more sense to treat it as an implementation detail, covered in a separate implementation document.
This section desperately needs to be expanded, but removing the
misleading/incorrect information is a priority.
Managed vectors/strings are not covered, as they are feature-gated and
are only a micro-optimization to avoid double-indirection.
Closes#6882
In section 13 of the 0.6 docs the local and exchange heap are referenced without previous explanation.
The text was updated successfully, but these errors were encountered: