How @MainActor works
Explains how Swift's @MainActor annotation works, detailing its implementation using global actors and custom executors to ensure code runs on the main thread.
Explains how Swift's @MainActor annotation works, detailing its implementation using global actors and custom executors to ensure code runs on the main thread.
A developer builds a faster, multithreaded file search tool in Go to outperform the classic grep command, detailing key optimizations.
Learn how to use Swift's DispatchGroup to manage and synchronize multiple asynchronous API callbacks effectively.
A deep dive into Java's Project Loom, explaining virtual threads, their scheduling, memory management, and how they improve application scalability.
Announcing the fifth edition of Advanced Swift, updated for Swift 5.6 with new concurrency content, property wrappers, and a hardcover print edition.
A technical guide on how to make a Go application block and wait for a Ctrl+C interrupt signal using the os/signal package.
Explains how to implement automatic retry logic for asynchronous operations in Swift using the new concurrency model, as a replacement for Combine's retry operator.
Tips for designing robust and user-friendly Go APIs, focusing on proper use of Context and goroutine lifecycle management.
A guide to creating Combine-compatible wrappers for async/await APIs in Swift, enabling integration between different concurrency models.
Explores upcoming developments in server-side Swift for 2022, including distributed actors, the new concurrency model, and the future of the Vapor framework.
A tutorial on creating a reusable AsyncButton in SwiftUI to handle asynchronous actions and prevent duplicate calls.
Project Loom introduces structured concurrency with virtual threads, a new paradigm for writing concurrent Java code, as discussed in the Inside Java Newscast.
Explains how to add delays to Swift Tasks using Task.sleep, with examples and a custom delayed task abstraction.
Explains the role of Tasks in Swift's concurrency system, focusing on bridging synchronous UI code with asynchronous operations and automatic main thread handling.
A step-by-step tutorial on building a simple HTTP web server in C, covering socket programming and the basics of the HTTP protocol.
A guide to writing unit tests for Swift code that uses async/await, covering asynchronous test methods and error handling.
A technical analysis of ARM spinlock implementation using ldrex/strex instructions, comparing it to x64 CPU internals.
A video tutorial on refactoring a SwiftUI MovieDB app to SwiftUI 3, iOS 15, and Swift 5.5 with async/await.
Explains how to make Swift's new async/await system APIs work on older iOS versions using continuations.
Xcode 13.2 beta brings backward compatibility for Swift's async/await and other concurrency features to older OS versions like iOS 13.