<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Apologies all, my iPad and I are not getting on today !<br><br></div><div>On 12 May 2016, at 16:33, Andrew Brown via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>On <span class="" style="font-family: 'Helvetica Neue';">First, this is a </span><i class="" style="font-family: 'Helvetica Neue';">huge</i><span class="" style="font-family: 'Helvetica Neue';"> breaking change, and it doesn’t really have to be one. The current SPM convention is to prefix C libraries with Lib. Following this convention, Dispatch (which is the C version) would be renamed to LibDispatch, and this new wrapper library would be called just Dispatch. With this setup, the old C api would still be there (under the module LibDispatch), which makes migration much easier. In the proposal, this issue is not addressed at all and it even says that <i class="">all code using libdispatch</i> would be affected. As it stands, that is not ok.</span><br></div></div></blockquote><div><br></div><br><blockquote type="cite"><div><div>Separating existing dispatch from a new SwiftDispatch is a great idea. It would give the opportunity to really spend time working on the right approach for concurrency in swift without affecting existing production code and the hundreds of dispatch wrappers out there.</div><div><br></div><div>While we're on the subject: Dispatch Queues are 'queues' ... Isn't the right verb append (for asynchronous dispatch)?</div><div><br></div><div>DispatchQueue.main.append {</div><div> print("Hello Swift")</div><div>}</div><div><br></div><div>After all, asyncDispatch or dispatchAsync imply you are dispatching a synchronously - which you are not. The dispatch (sending for execution) is always synchronous, it's the execution which is asynchronous.</div><div><br></div><div>DispatchQueue.main.dispatchForAsynchronousExecution {</div><div> print("Help, I have repetitive strain injury")</div><div>}</div><div><br></div><div>Just my 2¢</div><div>Andrew.</div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote></body></html>