Skip to content

Releases: vandadnp/swift-weekly

Swift Weekly - Issue 14 - Generics (Part 1)

20 Dec 19:13
08fd70c
Compare
Choose a tag to compare

In this issue we will look at generics with and without constraining

Swift Weekly - Issue 13 - Loops

31 Jan 20:51
Compare
Choose a tag to compare

We discuss the internals of loops and have a look at scoring them based on their aesthetics, performance and conciseness.

Swift Weekly - Issue 12 - Adding Assembly Code to Swift

26 Mar 14:00
Compare
Choose a tag to compare

In this issue of swift-weekly, I'll demonstrate how you can inject assembly code into your Swift code, both for x86_64 and ARM architectures.

Swift Weekly - Issue 11 - @autoclosure, @inline, @noescape, and @noreturn Keywords

26 Feb 15:22
Compare
Choose a tag to compare

Let's talk about a few keywords in Swift that you might not have yet used!

Swift Weekly - Issue 10 - The Swift Runtime (Part 8) - Switch Statement

21 Feb 14:04
Compare
Choose a tag to compare

In this issue, I explain how Swift writes assembly code for switch and case statements and how it deals with ranges in switches and we will also, along the way, find some cool optimization tricks that Swift does in order to make our release code faster to execute, at the expense of making it more complicated.

Swift Weekly - Issue 09 - The Swift Runtime (Part 7) - Subscripts

13 Feb 11:07
Compare
Choose a tag to compare

In this issue I explain how subscripts work on String, Arrays and Dictionaries and shed some light on some of the sneaky work that Swift 1.2 does behind the scene in order to make our code run faster with regards to subscripting.
You can read this issue here

Swift Weekly - Issue 08 - The Swift Runtime (Part 6) - Type Casting

16 Jan 08:18
Compare
Choose a tag to compare

In this issue, i explore how the Swift compiler deals with:

  1. typecasting
  2. conditional downcasting
  3. unconditional downcasting

This issue can be read by clicking here