"A failure in the hot air department"
Full blog index.
Introducing PLWeakCompatibility at 2012-03-31 03:09
As a way of atoning for the lack of a Friday Q&A today, I'm pleased to introduce PLWeakCompatibility. Do you like ARC? Do you need to support older OS releases? Do you wish you could use
__weakvariables on those older OSes? If so, then I have good news for you! PLWeakCompatibility is the solution you've been looking for.
Friday Q&A 2012-02-17: Ring Buffers and Mirrored Memory: Part II at 2012-02-17 12:50
Last time on Friday Q&A, I started talking about implementing a ring buffer using virtual memory tricks to mirror memory. The first article concentrated on those virtual memory tricks. Today, I'm going to fill out the second half of the puzzle and show how to implement the ring buffer on top of the mirrored memory allocator we developed. If you haven't read the previous article yet, I strongly recommend you so so, otherwise the memory mirroring is likely to be confusing.
Friday Q&A 2012-02-03: Ring Buffers and Mirrored Memory: Part I at 2012-02-03 16:37
Playing with virtual memory is always fun, and one place where it can be put to good use is in building a ring buffer. A ring buffer is a way to implement a FIFO queue of data, and using virtual memory tricks to mirror multiple copies of the same data can make the implementation simpler and better by virtually concatenating noncontiguous data. Readers Jose Vazquez and Dylan Lukes suggested that I explore the building of such a construct. Today I will talk about how to implement the virtual memory tricks, and then in part II I will show how to implement the ring buffer on top of them.
Introducing MAZeroingWeakRef at 2010-07-16 20:19
I'm extremely excited to announce a new library for Cocoa and Cocoa Touch development:
MAZeroingWeakRef. In short, it's a library which allows zeroing weak references to be used in retain/release Cocoa code. This has all sorts of uses and should make retain/release coding less painful. While I discussed this in detail in my Friday Q&A post this week, I also want to make a separate announcement for people who don't want to read through all of the horrible details.