HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
apple
swift-numerics
Swift2020–2021
apple / swift-numerics

swift-numerics

Advanced mathematical types and functions for Swift

4Distinct people
4Mentions
0Explicit recommenders
1.9KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Advanced mathematical types and functions for Swift

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month4 dated mentions

Observed mentions: 2020-02-10 20:27:14 UTC to 2021-06-25 22:37:08 UTC.

012020-02-01 00:00:00 UTC to 2020-03-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 20202020-03-01 00:00:00 UTC to 2020-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-04-01 00:00:00 UTC to 2020-05-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2020-05-01 00:00:00 UTC to 2020-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-01 00:00:00 UTC to 2020-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-07-01 00:00:00 UTC to 2020-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-08-01 00:00:00 UTC to 2020-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-09-01 00:00:00 UTC to 2020-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-10-01 00:00:00 UTC to 2020-11-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 20202020-11-01 00:00:00 UTC to 2020-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2021-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-02-01 00:00:00 UTC to 2021-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-03-01 00:00:00 UTC to 2021-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-01 00:00:00 UTC to 2021-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-05-01 00:00:00 UTC to 2021-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-06-01 00:00:00 UTC to 2021-07-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJun 2021

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Feb 20202020-02-01 00:00:00 UTC2020-03-01 00:00:00 UTC101
Mar 20202020-03-01 00:00:00 UTC2020-04-01 00:00:00 UTC000
Apr 20202020-04-01 00:00:00 UTC2020-05-01 00:00:00 UTC110
May 20202020-05-01 00:00:00 UTC2020-06-01 00:00:00 UTC000
Jun 20202020-06-01 00:00:00 UTC2020-07-01 00:00:00 UTC000
Jul 20202020-07-01 00:00:00 UTC2020-08-01 00:00:00 UTC000
Aug 20202020-08-01 00:00:00 UTC2020-09-01 00:00:00 UTC000
Sep 20202020-09-01 00:00:00 UTC2020-10-01 00:00:00 UTC000
Oct 20202020-10-01 00:00:00 UTC2020-11-01 00:00:00 UTC101
Nov 20202020-11-01 00:00:00 UTC2020-12-01 00:00:00 UTC000
Dec 20202020-12-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
Jan 20212021-01-01 00:00:00 UTC2021-02-01 00:00:00 UTC000
Feb 20212021-02-01 00:00:00 UTC2021-03-01 00:00:00 UTC000
Mar 20212021-03-01 00:00:00 UTC2021-04-01 00:00:00 UTC000
Apr 20212021-04-01 00:00:00 UTC2021-05-01 00:00:00 UTC000
May 20212021-05-01 00:00:00 UTC2021-06-01 00:00:00 UTC000
Jun 20212021-06-01 00:00:00 UTC2021-07-01 00:00:00 UTC110

What Hacker News says

4 sources
dwrodri·Jun 25, 2021Submission

Ask HN: Are non-Apple employees using Swift for numerical computing?

TL;DR: Are you working on a project (open or closed source) outside of Apple that does heavy number crunching with Swift? Let's chat! I'm a grad student who has dabbled in HPC / ML / Stats who has taken an interest in Swift. Swift looks like an interesting language, but I'm really confused about Swift for numerics. - Swift for Tensorflow has come and gone[1]. It provided an enormous momentum for Swift into this domain, though. - Apple released a numerics library[2]. - There is tons of functionality in Accelerate.framework which looks like it'd be great for making math-heavy code[3]. Looks like a super cool foundation for a project. - People have had issues linking against Accelerate.framework[4]. Am I even linking against the same code as Apple engineers in these lower level libraries? - There was a talk this year on Metal Compute for ML[
Read the rest
5]. This kinda gives me the impression they want people to buy into this ecosystem. Jeremy Howard from fast.ai was excited about this stuff in 2019[6]. I'm curious if he still thinks it has a future outside of Apple. It seems like there aren't many tutorials / projects out there on: - Rolling your own statistical ML libraries and using them in Swift Projects - Using BNNS to make and train your own neural network. I don't mind the fact that this stuff gets pretty difficult sometimes. Swift was never catered to this sort of work. Apple cares more about optimizing the developer UX of CoreML / Vision. I'm just trying to see through the mixed messages that Apple keeps sending to people like me. Do they want us working on this stuff or no? --- 1: https://www.tensorflow.org/swift/guide/overview 2: https://github.com/apple/swift-numerics 3: https://developer.apple.com/documentation/accelerate /bnns#topics 4: https://github.com/scipy/scipy/issues/7500 5: https://developer.apple.com/wwdc21/10152 6: https://www.fast.ai/2019/01/10/swift-numerics/
2 points · Open discussion
Swift, especially if you have a Mac. The numeric features are well thought out and generally work the way you'd expect. The same with syntax. Swift Playgrounds are a REPL with ability to visualize what your program is doing to build on intuition. If you're keen on using higher level language features such as generics, you can make use of them easily. Otherwise they'll stay out of your way. In terms of progressive disclosure of complexity, it is the best language I've used. And I've used many. There are also many[1][2][3][4][5] open source projects to peruse. Even if you're not on Mac, there is Linux and Windows support, though I don't have direct experience with them. The language itself is now fairly stable with a fixed ABI, relatively fast, and is open source so you can modify it if that's something you're interested in down the road. D
Read the rest
espite the commentary, it's not an Apple-only language, though when you're outside the Apple ecosystem things are more bottom-up and hence the experience can be inconsistent at times. I credit Swift with revitalizing my own interest in mathematics. It made re-learning the stuff I'd forgot from college fun and interactive. [1] https://github.com/apple/swift-numerics [2] https://github.com/phlegmaticprogrammer/LANumerics [3] https://github.com/apple/swift-algorithms [4] https://github.com/stsievert/swix [5] https://github.com/AlexanderTar/LASwift
In Ask HN: Which general programming language is good for learning/exploring math?

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.