Shared boxing and boxed self #3115
Replies: 3 comments 9 replies
-
This thing of boxed self was something I was thinking of using in Rust after several thoughts with a node pattern, but the Bevy Engine's ECS pattern already solves everything correctly, so it's not an use-case anymore for me. I asked something related to this for C++ in StackOverflow, but since I deleted my previous account, I'm not finding the question... |
Beta Was this translation helpful? Give feedback.
-
See this accepted proposal for the overall naming conventions we're following. I don't think we've discussed issues like boxed Self and reference-counting in much depth yet. |
Beta Was this translation helpful? Give feedback.
-
What are the thoughts on supporting read/copy/update/ RCU as a key pattern in the language? Eager deletion is a source of many errors in a number of contexts in c++. Just make the machinery for that part of the language or provide the pieces so that a moderately skilled programmer can glue it together. |
Beta Was this translation helpful? Give feedback.
-
Summary of issue:
Reference counting and boxed
self
.Details:
Name
What naming convention are you going to use? E.g.,
shared_ptr
andatomic_ptr
map to...?Self as any Boxed Type
Any other information that you want to share?
No response
Beta Was this translation helpful? Give feedback.
All reactions