<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 Aug 1, 2017, at 9:14 AM, Taylor Swift via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">I’ve noticed from this and older threads that everyone agrees on what core libraries we want, but they never actually get built. Perennial requests seem to be<br class=""><br class=""></div><div class="">- RNG and cryptography library (CryptoSwift could be a good base for this)<br class=""></div>- Generic Math library/Vector library<br class=""></div>- Basic data structures (Tree, Balanced Tree, Heap, Queue, SkipList, graphs, etc)<br class=""></div>- Modern DateTime library<br class=""></div></div></div></div></div></blockquote><div><br class=""></div><div>This may not be a popular opinion for the masses, but in reality, Foundation <i class="">is</i> a modern DateTime library. The core functionality provided by Calendar, Date, TimeZone, Locale, and DateFormatter are world-class APIs.</div><div><br class=""></div><div>I suspect that what people are really asking for is simpler API to do things like “get the day of the month from a Date” and such. The proper way to do this seemingly involves more types than you’d think is reasonable, but it’s that way for <i class="">very</i> good reasons.</div><div><br class=""></div><div>I’d encourage people who want to know more about this to go read through <a href="http://yourcalendricalfallacyis.com" class="">http://yourcalendricalfallacyis.com</a>, and I’d be happy to disabuse anyone of false calendrical notions on a new thread.</div><div><br class=""></div><div>Cheers,</div><div><br class=""></div><div>Dave</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">- Modern String processing toolkit<br class=""></div>- 2D Graphics library (similar to cairo)<br class=""></div>- Windowing/UI library<br class=""><br class=""></div>I think David Turnbull tried to get something like this started years back but it fizzled out pretty quick, probably because the Swift foss community was much smaller back then. Time to try again?<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Aug 1, 2017 at 8:29 AM, Georgios Moschovitis <span dir="ltr" class=""><<a href="mailto:george.moschovitis@icloud.com" target="_blank" class="">george.moschovitis@icloud.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> That's what's happened with the Server APIs Project<br class="">
> <a href="https://swift.org/server-apis/" rel="noreferrer" target="_blank" class="">https://swift.org/server-apis/</a><br class="">
><br class="">
> I would like to see more of this, and math/BigNum seems like a good candidate.<br class="">
><br class="">
> Another is a modern date/time package, standing on the shoulders of<br class="">
> <a href="https://jcp.org/en/jsr/detail?id=310" rel="noreferrer" target="_blank" class="">https://jcp.org/en/jsr/detail?<wbr class="">id=310</a> and similar.<br class="">
<br class="">
</span>+ 1<br class="">
<br class="">
I would also love to see standard implementation of Graph data structures, at least some common protocols.<br class="">
Dunno why this versatile data structure is not included in standard libraries (similar to Map/Dictionary), Set, etc.<br class="">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
-g.</font></span></blockquote></div><br class=""></div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></body></html>