[swift-evolution] [Pitch] Introduce user-defined dynamically "callable" types

Chris Lattner sabre at nondot.org
Sat Nov 11 12:20:17 CST 2017



> On Nov 11, 2017, at 9:53 AM, Joe Groff via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
> 
> On Nov 11, 2017, at 9:44 AM, John Holdsworth <mac at johnholdsworth.com <mailto:mac at johnholdsworth.com>> wrote:
> 
>> Isn’t there a third way? I wrote a bridge between Swift and Java without having to
>> change the compiler at all by using a code generator to generate bridging Swift
>> rather than having a Java importer.
> 
> Good point. For unidirectional importing without deep support for overriding or runtime integration like what we do with ObjC, which AIUI is the extent of Chris's ambition with Python interfacing here, a code generator can get the job done without requiring deep compiler integration, though at the expense of needing an added tool in your build process. Have you looked at all into making SwiftJava integrate with the package manager or with Xcode yet? How's that experience?

Also, what is the playground experience like?

-Chris


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


More information about the swift-evolution mailing list