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

swift-algorithms

Commonly used sequence and collection algorithms for Swift

3Distinct people
3Mentions
0Explicit recommenders
6.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Commonly used sequence and collection algorithms 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, 1:49:46 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 week3 dated mentions

Observed mentions: 2020-10-25 19:18:44 UTC to 2021-02-10 20:11:17 UTC. Weeks start Monday, UTC.

012020-10-19 00:00:00 UTC to 2020-10-26 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 192020-10-26 00:00:00 UTC to 2020-11-02 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-11-02 00:00:00 UTC to 2020-11-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-11-09 00:00:00 UTC to 2020-11-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-11-16 00:00:00 UTC to 2020-11-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-11-23 00:00:00 UTC to 2020-11-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-11-30 00:00:00 UTC to 2020-12-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-07 00:00:00 UTC to 2020-12-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-14 00:00:00 UTC to 2020-12-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsDec 142020-12-21 00:00:00 UTC to 2020-12-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-28 00:00:00 UTC to 2021-01-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-04 00:00:00 UTC to 2021-01-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-11 00:00:00 UTC to 2021-01-18 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-18 00:00:00 UTC to 2021-01-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-25 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-02-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-02-08 00:00:00 UTC to 2021-02-15 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsFeb 8

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
Oct 192020-10-19 00:00:00 UTC2020-10-26 00:00:00 UTC101
Oct 262020-10-26 00:00:00 UTC2020-11-02 00:00:00 UTC101
Nov 22020-11-02 00:00:00 UTC2020-11-09 00:00:00 UTC000
Nov 92020-11-09 00:00:00 UTC2020-11-16 00:00:00 UTC000
Nov 162020-11-16 00:00:00 UTC2020-11-23 00:00:00 UTC000
Nov 232020-11-23 00:00:00 UTC2020-11-30 00:00:00 UTC000
Nov 302020-11-30 00:00:00 UTC2020-12-07 00:00:00 UTC000
Dec 72020-12-07 00:00:00 UTC2020-12-14 00:00:00 UTC000
Dec 142020-12-14 00:00:00 UTC2020-12-21 00:00:00 UTC000
Dec 212020-12-21 00:00:00 UTC2020-12-28 00:00:00 UTC000
Dec 282020-12-28 00:00:00 UTC2021-01-04 00:00:00 UTC000
Jan 42021-01-04 00:00:00 UTC2021-01-11 00:00:00 UTC000
Jan 112021-01-11 00:00:00 UTC2021-01-18 00:00:00 UTC000
Jan 182021-01-18 00:00:00 UTC2021-01-25 00:00:00 UTC000
Jan 252021-01-25 00:00:00 UTC2021-02-01 00:00:00 UTC000
Feb 12021-02-01 00:00:00 UTC2021-02-08 00:00:00 UTC000
Feb 82021-02-08 00:00:00 UTC2021-02-15 00:00:00 UTC110

What Hacker News says

3 sources
This is a quick little project I've spent the past few days working on. This page lets you study and observe the functions from Swift Algorithms[0] in real time. The HTML/CSS was generated using HyperSwift[1] and the DOM control/manipulation is done with SwiftWASM[2]. That is to say, this is very close to being written 100% in Swift. [0] https://github.com/apple/swift-algorithms [1] https://github.com/johngarrett/hyperSwift [2] http://swiftwasm.org
In Show HN: Swift, WASM and Algorithms
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.