<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 31, 2016, at 2:24 PM, Shawn Erickson via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Thu, Mar 31, 2016 at 9:43 AM Chris Lattner &lt;<a href="mailto:clattner@apple.com" class="">clattner@apple.com</a>&gt; wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That said, this is the sort of proposal that can have a profound impact on the actual experience using unaudited APIs.&nbsp; The core team believes that the experience will be good, but we would like to get some experience moving a couple of existing projects (both low-level code that interacts with C, and an “App” project working with high level frameworks) to see what the impact is in practice.&nbsp; If something unexpected comes up, we will revisit this, and potentially reject it later.<br class=""></blockquote><div class=""><br class=""></div><div class="">On the topic of unaudited APIs. Does a recommended way exist that I as say a user of on an unaudited C API / library can add attributes to the C API for my use in Swift? (e.g. code that I don't own, I just use)</div><div class=""><br class=""></div><div class="">It is likely a number of C APIs won't get attributed for improved use in Swift by the authors so having a good way that the community could overlay attributes for the benefit of Swift could be helpful.</div></div></div></div></blockquote><br class=""></div><div>We have a facility for doing this (called “API notes”). &nbsp;The problem is that it is currently hacked together to solve specific problems, not something that is really properly designed.</div><div><br class=""></div><div>I know that many people would like to see this situation get improved, and make it a first class feature of the swift experience.</div><div><br class=""></div><div>-Chris</div><br class=""></body></html>