Releases: vandadnp/swift-weekly
Swift Weekly - Issue 14 - Generics (Part 1)
Swift Weekly - Issue 13 - Loops
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
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
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
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
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
In this issue, i explore how the Swift compiler deals with:
- typecasting
- conditional downcasting
- unconditional downcasting
This issue can be read by clicking here