Swift Algorithm Club: July Digest 2017

The Swift Algorithm Club is a popular open source project to implement popular algorithms and data structures in Swift, with over 13,000 stars on GitHub. We periodically give status updates with how things are going with the project. This month, we’ll discuss our plans on the Swift 4 update. Swift 4 Migration It’s that time […] By Kelvin Lau.

Save for later
Share

Contents

Hide contents

Swift Algorithm Club: July Digest 2017

2 mins

The Swift Algorithm Club is a popular open source project to implement popular algorithms and data structures in Swift, with over 13,000 stars on GitHub.

We periodically give status updates with how things are going with the project. This month, we’ll discuss our plans on the Swift 4 update.

Swift 4 Migration

It’s that time of the year again. A new version of Swift is imminent, which means it’s time to overhaul all the code in the repo.

There are 88 different topics to migrate over this year. Migration has generally been straightforward – it’s just the process of:

  • Making sure the playground compiles correctly
  • Making sure README.md file reflects the updated playground

The migration from Swift 3 to Swift 4 has been quite painless relative to previous years, so I expect it to be pretty simple!

If you’ve ever wanted to contribute to the Swift Algorithm Club, now’s a great time! It’s a great way to learn about algorithms and Swift 4 at the same time.

If you’d like to contribute, check out the Swift 4 migration issue for more information on how to sign up.

Note: The most straightforward way of compiling in Swift 4 is to use Xcode 9 beta, which you may download from Apple here.

Other News

In addition to the usual minor updates and fixes to the repo, we’ve got a new topic on the LRU Cache by ck.

This is a short and sweet sampler on how a Least Recently Used cache is implemented. Caches usually have limited space, and one way to efficiently manage resources is to purge the least recently accessed item.

Expect half a dozen more contributions from ck next month… there’s quite a few in the backlog already!

Where To Go From Here?

The Swift Algorithm Club is always looking for new members. Whether you’re here to learn or here to contribute, we’re happy to have you around.

To learn more about the SAC, check out our introductory article. We hope to see you at the club! :]

Contributors

Over 300 content creators. Join our team.