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-3923] Plan for the evolution of type metadata #46508

Closed
ematejska mannequin opened this issue Feb 10, 2017 · 2 comments
Closed

[SR-3923] Plan for the evolution of type metadata #46508

ematejska mannequin opened this issue Feb 10, 2017 · 2 comments
Labels
affects ABI Flag: Affects ABI bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself

Comments

@ematejska
Copy link
Mannequin

ematejska mannequin commented Feb 10, 2017

Previous ID SR-3923
Radar rdar://problem/31414905
Original Reporter @ematejska
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, AffectsABI
Assignee None
Priority Medium

md5: 9f8ac371fcbf685d78374b9bcd2fe523

Issue Description:

Ahead of ABI Stability, provide type metadata read/write functions alongside the runtime to interact with metadata, giving some freedom to the underlying structures to grow and change. This effectively makes large portions of metadata opaque.

For those fields that require access to be as efficient as possible (e.g. dynamic casts, calling into witness tables) and the performance hit from going through an intermediary function would be unacceptable, freeze those parts of the metadata representation.

@bob-wilson
Copy link
Contributor

@swift-ci create

@bob-wilson
Copy link
Contributor

Joe Groff sent out the plan for this:

lists.swift.org/pipermail/swift-dev/Week-of-Mon-20171106/005828.html

The implementation work will be included with SR-3924

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
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 bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself
Projects
None yet
Development

No branches or pull requests

1 participant