[SR-3923] Plan for the evolution of type metadata #46508
Labels
affects ABI
Flag: Affects ABI
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
Additional Detail from JIRA
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.
The text was updated successfully, but these errors were encountered: