> On Dec 4, 2017, at 11:05 AM, Dave DeLong via swift-evolution > <[email protected]> wrote: > > Hi Chris, > > We do the Swift integration with Objective-C via modules. Why wouldn’t that > approach work with Python? Or if it would, why would we favor this dynamic > member lookup over importing a Python API via a module? >
My understanding is that we would then have to write modules for each and every dynamic language people would want to import. It would take a lot more time/maintenance than this approach which theoretically allows for any dynamic language to become interoperable with much less effort and very little maintenance. > Dave > >> On Nov 26, 2017, at 11:04 PM, Chris Lattner via swift-evolution >> <[email protected]> wrote: >> >> I’d like to formally propose the inclusion of user-defined dynamic member >> lookup types. >> >> Here is my latest draft of the proposal: >> https://gist.github.com/lattner/b016e1cf86c43732c8d82f90e5ae5438 >> https://github.com/apple/swift-evolution/pull/768 >> >> An implementation of this design is available here: >> https://github.com/apple/swift/pull/13076 >> >> The implementation is straight-forward and (IMO) non-invasive in the >> compiler. >> >> -Chris >> >> _______________________________________________ >> swift-evolution mailing list >> [email protected] >> https://lists.swift.org/mailman/listinfo/swift-evolution > > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
