[swift-evolution] Swift's reflection

Dimitri Racordon Dimitri.Racordon at unige.ch
Wed Mar 15 10:10:45 CDT 2017


Hello fellow evolutionists,

I’d like to ask if someone knows about the current state of affairs of the evolution of the reflection API in Swift.
I read it was (or at least used to be) in the scope of Swift 4 to improve on the current capabilities, but failed to see any proposal in that direction since then. I found this evolution post (https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151214/003401.html) from quite a while ago, and would like to know if anything progressed since then.

As a domain specific languages designer, reflection is an essential feature for me. Unfortunately I think Swift is quite behind regarding that point. Most specifically, the inability to set properties discovered from a mirror (without resorting to the black magic of unsafe pointers) has a huge impact on the simplicity of embedded DSLs.

Thanks,
Dimitri Racordon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170315/d7d30f11/attachment.html>


More information about the swift-evolution mailing list