Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-4355] Update standard library to use memory ownership features #46934

Closed
bob-wilson opened this issue Mar 25, 2017 · 3 comments
Closed

[SR-4355] Update standard library to use memory ownership features #46934

bob-wilson opened this issue Mar 25, 2017 · 3 comments
Labels
affects ABI Flag: Affects ABI ownership Feature: Ownership modifiers and semantics standard library Area: Standard library umbrella task

Comments

@bob-wilson
Copy link
Contributor

Previous ID SR-4355
Radar rdar://problem/31408028
Original Reporter @bob-wilson
Type Task
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Task, AffectsABI
Assignee None
Priority Medium

md5: 27dc1698347c6a882dd0786c61ce49ca

relates to:

  • SR-7140 Implement generators and adopt them in the standard library
  • SR-7141 Implement proof-of-concept for move-only types to make sure the standard library can support move-only data
  • SR-7100 Change default ownership for passing parameters to use the "guaranteed" convention
  • SR-7135 Implement generalized accessors and adopt them in the standard library
  • SR-7134 Implement coroutines so that they can be used for robust inout modifications
  • SR-7139 Support enforcement of exclusive memory accesses in Release builds

Issue Description:

From the ABI Stability manifesto:

"Another goal of Swift is to improve the applicability of Swift to systems programming. Ownership semantics may make a large impact, including things such as improved inout semantics that allow for efficient and safe array slicing. Providing the right abstractions for efficient use of contiguous memory is still under investigation"

I'm filing this issue to track that work.

@bob-wilson
Copy link
Contributor Author

@swift-ci create

@Dante-Broggi
Copy link
Contributor

Should't this be on the ABI Dashboard?

@bob-wilson
Copy link
Contributor Author

Yes, this was originally on the ABI Dashboard, but we decided to replace it with more specific entries. This one was too vague to be useful. We added a new Ownership section on the dashboard with 6 new entries: SR-7100, SR-7134, SR-7135, SR-7139, SR-7140, and SR-7141.

I don't see much point in keeping this one open now.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the ownership Feature: Ownership modifiers and semantics label Jan 31, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects ABI Flag: Affects ABI ownership Feature: Ownership modifiers and semantics standard library Area: Standard library umbrella task
Projects
None yet
Development

No branches or pull requests

3 participants