I see singletons used a lot in Swift projects. These things are, by definition, global state. That means they can be accessed from any context - any thread or actor - at any time. And this property makes them a common source of problems when used with Concurrency.| massicotte.org
I enjoy technical conversations that happen across different blogs. One in particular that I revisited recently was a very thought-provoking exchange on enum vs struct. The whole thing is worth your time!| massicotte.org
As we started getting closer to the release of Swift 6.0, I had this bright idea. I decided to write about every evolution proposal related to concurrency that would ship with that release. This resulted in 12 posts and let me tell you, it was a lot of work. I even cheated! I skipped one, the introduction of the Mutex type. I guess it just didn’t feel like enough of a “language change”.| massicotte.org