Alex ShchukinLock-Free in Swift: Memory model and Peterson’s algorithmToday we will continue to explore atomics and the lock-free topic we started in the previous article. We will discuss the memory model that…9 min read·Dec 28, 2023----
Alex ShchukinGCD Primitives in Depth: Serial QueueIn the previous article, we implemented DispatchSemaphore and DispatchGroup ourselves. Today, we will develop a simplified version of…12 min read·May 5, 2023----
Alex ShchukinLock-free in Swift: BarriersI want to start another series of articles about lock-free algorithms and how we can implement them using swift atomics framework. It’s a…20 min read·Dec 14, 2022--1--1
Alex ShchukinGCD Primitives in Depth: Semaphore and GroupIn this article, we will implement some of the GCD classes using low-level primitives to understand how GCD is actually functioning.6 min read·Oct 19, 2022--1--1
Alex ShchukinGCD Part 5: DispatchSource and Target Queue HierarchyIn this article, we will discuss some niche concepts such as DispatchSource and target queue hierarchy.4 min read·Apr 18, 2022----
Alex ShchukinGCD Part 4: SynchronizationThe topic of today’s article is synchronization. It’s one of the most important concepts in multithreading. And we will see how we can…4 min read·Nov 19, 2021----
Alex ShchukinGCD Part 3: DispatchGroup and concurrentPerformToday we will consider one of the most useful GCD components DispatchGroup and also we will take a look at the concurrentPerform method and…4 min read·Sep 16, 2021----
Alex ShchukinGCD Part 2: DispatchWorkItem and Quality of ServiceThis is the second part of the GCD series and here we will discuss QoS and DispatchWorkItem.6 min read·Jul 2, 2021----
Alex ShchukinGCD Part 1: Queues and methodsI would like to start a series of articles about Grand Central Dispatch (GCD). GCD or libdispatch is one the most popular instruments for…5 min read·May 26, 2021--1--1