#concurrency

AI

Benchmarking Swift Synchronization Mechanisms

A performance analysis of Swift synchronization mechanisms reveals that Mutex is an efficient default, while Atomic operations excel in specific high-contention scenarios.

November 11, 2026, 04:57 PM·Хабр
Hardware

Concurrency and Memory Safety in Rust

Rust uses its ownership model and type system to prevent data races at compile time, offering tools like Arc, Mutex, and atomic types for safe concurrent programming.

Хабр
Hardware

Optimizing Swift Debounce: From 798 ns to 16 ns

A developer reduced the execution time of a Swift debounce method by 50 times by replacing task creation with a persistent worker and optimizing memory layout.

Хабр
Hardware

Choosing Between Atomic Operations and Mutex in Go

Go developers choose between sync/atomic and sync.Mutex for concurrency, balancing the speed of atomic instructions against the flexibility of mutex locks for complex critical sections.

Хабр
That is everything