DIY in-memory cache in Swift

Caches are everywhere. Starting from hardware chips, and up to network protocols, devices, systems and applications are using caches to optimize for performance. In iOS, developers are well familia… Read more

Similar

On the Road to Swift 6

The Swift project has achieved a critical milestone of maturity of the core fundamentals, providing stability for users to invest in using Swift in earnest. On Apple's platforms such as macOS and iOS, the arrival of ABI and module stability has enabled t... (more…)

Read more »

Passing an Array of Strings from Swift to C

Swift has built-in support for bridging native strings to C strings, but this doesn’t include transparent bridging of arrays of strings to arrays of C strings. Here I discuss an internal helper function the Swift standard library uses for this purpose.

Read more »