<div dir="ltr">I think the Server APIs project was pretty close to what I had in mind actually. I don’t see why more core libraries can’t be commissioned that way, things like Math and DateTime would probably draw a great deal more attention than Server APIs since they are used by more people. One thing that would have to be fixed though is the cross-module optimization problem; no one in their right mind should ever be making generic calls to <span style="font-family:monospace,monospace">sin(x)</span>. A feature in the SPM that would perform “injection” of core library code into the interior of modules would probably be enough to fix this problem for now. (If this sounds hacky just remember that right now everyone seems to be copying and pasting <span style="font-family:monospace,monospace">.swift</span> files everywhere.) Everything <span style="font-family:monospace,monospace">internal</span> would become <span style="font-family:monospace,monospace">fileprivate</span> and everything <span style="font-family:monospace,monospace">public</span> would become <span style="font-family:monospace,monospace">internal</span>. A good Swift library should expose no more than 7 or 8 symbols at the top level so this should play nice with most client projects.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 1, 2017 at 4:50 AM, Ian Partridge <span dir="ltr">&lt;<a href="mailto:ian@poncho.org.uk" target="_blank">ian@poncho.org.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 1 August 2017 at 04:46, Taylor Swift via swift-evolution<br>
<span class="im HOEnZb">&lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br>
&gt; I’m not saying the Swift team should devote any time or resources to writing<br>
&gt; these things, but it’d be a huge benefit if someone were to say “okay we are<br>
&gt; commissioning a core library that does X, the code will live in Y Github<br>
&gt; repository, we’ve set up Z mailing list for this, and anyone who is willing<br>
&gt; to invest time in this is welcome to help make this a reality”. Then<br>
&gt; everyone with an interest in seeing these things get built would be able to<br>
&gt; coordinate.<br>
<br>
</span><div class="HOEnZb"><div class="h5">That&#39;s what&#39;s happened with the Server APIs Project<br>
<a href="https://swift.org/server-apis/" rel="noreferrer" target="_blank">https://swift.org/server-apis/</a><br>
<br>
I would like to see more of this, and math/BigNum seems like a good candidate.<br>
<br>
Another is a modern date/time package, standing on the shoulders of<br>
<a href="https://jcp.org/en/jsr/detail?id=310" rel="noreferrer" target="_blank">https://jcp.org/en/jsr/detail?<wbr>id=310</a> and similar.<br>
<br>
--<br>
Ian Partridge<br>
</div></div></blockquote></div><br></div></div></div>