Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

frankmcsherry
Copy link
Member

This PR moves the functionality of IntoOwned into the types that first provide access to the owned and borrowed types. The goal is to remove the freestanding requirement that a reference type should implement IntoOwned, as this is generally hard to introduce if it does not already exist. On the other hand, it is relatively easy for a container to provide this functionality, as it only needs to wrap existing logic (assuming it exists; if not there is a different problem). The main distinction is that we are happy to create new containers, or wrapper containers, etc. but much less happy to create new types that they contain.

There is a surprising amount of unmucking to do along the way, and this description will be updated with the narrative arcs if it is successful. For the moment, it is a draft PR revealing the work.

@antiguru antiguru self-requested a review July 14, 2025 19:44
Copy link
Member

@antiguru antiguru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good. Left some comments, but let's merge soon.

@frankmcsherry frankmcsherry marked this pull request as ready for review July 15, 2025 09:51
@frankmcsherry
Copy link
Member Author

Thanks for the review, and agree about wanting to land this where possible. I'm pretty confident that the path ends up in the intended state, and checkins are perhaps locally clarifying even if the final arc of the store isn't yet clear. :D

@frankmcsherry frankmcsherry merged commit f9e9798 into TimelyDataflow:master Jul 15, 2025
5 checks passed
@github-actions github-actions bot mentioned this pull request Jul 15, 2025
@github-actions github-actions bot mentioned this pull request Aug 7, 2025
@frankmcsherry frankmcsherry deleted the bye_intoowned branch September 23, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants