Uploaded image for project: 'Swift'
  1. Swift
  2. SR-3923

Plan for the evolution of type metadata

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Component/s: Compiler
    • Labels:

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ematejska Ewa Matejska
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: