We do have a use-case for something like this that was laid out in this forum post — in short, we’d like to be able to use swift_reflectionMirror_whatever methods directly in order to significantly boost performance (instead of proxying through Mirror, which as we all know likes to take its time). Currently adoption of these methods is pending a benchmark run and some sort of verification that these methods are, at the bare minimum, API-stable on all platforms — if the compiler could provide us a way to access these “safely”, that’d solve our biggest problem.
2 Likes