Dope Links 2022.10

System Programming Interfaces (SPI) in Swift Explained

This article explains the Swift's SPI that allows libraries to enable features to certain clients.

System Programming Interfaces (SPI) in Swift Explained
System Programming Interfaces are declarations available only for certain clients. Experimental attribute @_spi (and others) in the Swift language

Swift Concurrency – Things They Don’t Tell You

This article explains how Swift's concurrency works under the hood.

Swift Concurrency - Things They Don’t Tell You
Swift Concurrency encourages people to just jump in, add async-await to an existing code, and run some Tasks not really knowing what is going on under the hood. Unfortunately, there are many traps around concurrency and no... the compiler doesn’t check everything.

Where View.task gets its main-actor isolation from

This article explains how the `task()` modifier works in SwiftUI.

Where View.task gets its main-actor isolation from – Ole Begemann
If you call SwiftUI’s <code>task</code> modifier inside a view’s <code>body</code> property, the async operation will run on the main actor. However, this isn’t the case if you call <code>task</code> from a helper property or function that isn’t main-actor-annotated. Why?

How long do software engineers stay at a job?

There is a perception that programmers switch jobs very often. Lets see whether that's true.

How long do software engineers stay at a job? FAANG group stats
Find out how long software developers stay in one job and what the benefits are to switching jobs every so often.

Sound

This amazing article explains how the sound works in the interactive way.

Sound – Bartosz Ciechanowski
Interactive article explaining how sound works.