[swift-evolution] TrigonometricFloatingPoint/MathFloatingPoint protocol?

Tino Heth 2th at gmx.de
Tue Aug 1 12:44:30 CDT 2017

> So, this has been discussed before on the list many times in the past. The core team has stated that their preferred process for this is to have individuals write their own libraries, get real-world adoption, then (as consensus emerges) propose their inclusion as a core library.
I already opened a new mail to write my answer, but than I thought "wait, scroll down, and look if Xiaodi did already post links" ;-)
[But where have those potential core libraries been mentioned?]

Anyways, my perception hasn't change much:
I think it would be enough if someone from Apple would say "here's an empty github-repo called [math/statistics/algebra/crypto/graphic/image/audio/music/video/smtp/http…]; feel free to fork and create pull requests" and adding some democratic mechanism for acceptance on top of it.

But as long as no one with enough reputation starts Swifts equivalent of boost, there won't be a set of established libraries for basic data structures and algorithms outside the stdlib.

For anyone who thinks there's no need for a standard lib that is not the stdlib, have a look at
https://developer.apple.com/documentation/glkit/glkquaternion-pc6 <https://developer.apple.com/documentation/glkit/glkquaternion-pc6>
https://developer.apple.com/documentation/scenekit/scnquaternion <https://developer.apple.com/documentation/scenekit/scnquaternion>
https://developer.apple.com/documentation/coremotion/cmquaternion <https://developer.apple.com/documentation/coremotion/cmquaternion>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170801/3ed0a568/attachment.html>

More information about the swift-evolution mailing list