<div dir="ltr"><div>AFAICT compile-time code generation suffers from the C++ templates problem - my understanding is that if you don&#39;t have access to the definition of the template you can&#39;t specialize. A Swift (regular, non-variadic) generic function can be called with any conforming type without need for specialization through dynamic dispatch, with specialization still existing as an optimization. Having the same apply to variadic generics would be a significant advantage.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 31, 2016 at 11:08 AM, David Sweeris <span dir="ltr">&lt;<a href="mailto:davesweeris@mac.com" target="_blank">davesweeris@mac.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Out of curiosity, why?<div><br></div><div>- Dave Sweeris</div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On May 31, 2016, at 12:59 PM, Austin Zheng via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">How so? I&#39;m interested in anything that can get us away from having to generating code at compile-time.<div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 31, 2016 at 10:04 AM, L. Mihalkovic <span dir="ltr">&lt;<a href="mailto:laurent.mihalkovic@gmail.com" target="_blank">laurent.mihalkovic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span><div><br></div><div>What&#39;s interesting about the code in the manifesto is that it looks very much like &quot;...&quot; is a runtime construct, as opposed to trying the get the compiler to do the heavy lifting.<br></div></span></div></blockquote><div><br></div></div></div></div></div></div></div><span class="">
_______________________________________________<br>swift-evolution mailing list<br><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br></span></div></blockquote></div><br></div></div></blockquote></div><br></div>