Ultimate Grand Central Dispatch tutorial in Swift
A comprehensive tutorial on using Grand Central Dispatch (GCD) for multi-threading and concurrency in Swift programming.
A comprehensive tutorial on using Grand Central Dispatch (GCD) for multi-threading and concurrency in Swift programming.
Explains closures and callbacks in Swift as foundational abstractions for handling asynchronous programming, using the 'turtles all the way down' metaphor.
Explains why Scala Futures are not cancellable by design and demonstrates how to implement interruptible/cancellable Future logic.
Explains advanced Scala Future techniques using transform and Try for more efficient concurrent programming transformations.
A developer shares initial impressions and critiques of the Go programming language, covering syntax, conventions, and features after learning it.
Explores applying the Actor Model, a concurrency concept from the 1970s, to modern web development using JavaScript and Web Workers.
An updated guide to locks, mutexes, and thread safety in Swift, covering modern APIs and best practices for concurrent programming.
Explains concurrency issues in Django models and demonstrates solutions using pessimistic locking with select_for_update to ensure data integrity.
Explains Scala's BlockContext for managing thread blocking, including how to prohibit blocking in specific scopes.
Explains a common mistake when using Scala Futures in for-comprehensions and provides a solution to ensure parallel execution.
Explores best practices for managing ExecutionContext in Scala Futures, covering component design patterns for controlling asynchronous execution.
Explains the new Shared Memory proposal for JavaScript, covering its importance, the event loop, and moving towards practical usage.
Explains the CLR Thread Pool's 'Hill Climbing' algorithm for dynamically managing and injecting threads to optimize throughput.
Explains race conditions in Go concurrency and demonstrates how to use mutex locks to ensure thread-safe operations on shared variables.
A reflection on the non-dogmatic, engineering-based decision-making process in Go language design, contrasting it with user debates.
Explains the Producer-Consumer pattern for asynchronous services, including a C# implementation using TPL Dataflow.
A rebuttal to the 'function color' critique of async/await, arguing it's a powerful tool for cooperative multitasking in concurrent programming.
Explains the internal workings of Node.js, focusing on its single-threaded, non-blocking I/O architecture, the Reactor Pattern, and the role of libuv.
Author discusses writing a Go image cropping program for Linux Voice, sharing insights on Go's features and providing code resources.
Explains the advanced Async Continuation Passing Style (ACPS) technique and improved promise linking in Scala 2.12 Futures.