[swift-evolution] Python Interop with Swift 4+

Chris Lattner sabre at nondot.org
Mon Nov 20 14:10:51 CST 2017

> On Nov 20, 2017, at 10:50 AM, Slava Pestov via swift-evolution <swift-evolution at swift.org> wrote:
>> On Nov 20, 2017, at 1:39 PM, Chris Lattner via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> It is straight-forward (and fits very very naturally into the Swift call model) to support the second one as an atomic thing, which is I think what you’re getting at. 
> What if you write ‘let fn = obj.method’?

That’s related to the DynamicMemberLookup proposal.  I’m not familiar with Ruby, but it sounds like the implementation would end up calling rb_iv_get/set to manipulate instance variables.  Is that your question or are you asking something else?


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

More information about the swift-evolution mailing list