mikeash.com: just this guy, you know?

NSBlog
RSS feed (full text feed)

apple assembly blocks(2) c(2) codeinjection corefoundation evil(8) fridayqna(5) hack(2) ioccc(2) iphone lisp objectivec override rant stupid swizzling trampoline

Showing entries tagged "evil". Full blog index.

Tags: fridayqna corefoundation hack evilIt's time for another friendly edition of Friday Q&A. For my last Friday Q&A, I talked about MAZeroingWeakRef and how it's implemented for pure Objective-C objects. For this one, I'm going to discuss the crazy hacks I implemented to make it work with toll-free bridged CoreFoundation objects as well.
(Read More) 4 comments

Friday Q&A 2010-02-12: Trampolining Blocks with Mutable Code at 2010-02-12 18:20
Tags: fridayqna blocks trampoline assembly evilWelcome to another edition of Friday Q&A, where deep technical talk and complete insanity combine! This week, I'm going to take a quick break from my usual reader-driven format and talk about a little toy I built earlier in the week, an adapter between blocks and more traditional function-pointer-based callback systems.
(Read More) 2 comments

Friday Q&A 2010-01-29: Method Replacement for Fun and Profit at 2010-01-29 19:00
Tags: fridayqna objectivec swizzling override evilIt's that time of the week again. For this week's Friday Q&A Mike Shields has suggested that I talk about method replacement and method swizzling in Objective-C.
(Read More) 17 comments

Deconstructing Apple's Copyright and Trademark Guidelines at 2009-11-17 02:08
Tags: apple iphone evil rant stupidIt's well known that every member of the official iPhone developer program is bound by Apple's iPhone SDK agreement. What seems to be much less well known is that the agreement also binds developers to follow Apple's "Copyright and Trademark Guidelines", which add a huge list of restrictions to what an iPhone developer can and cannot do.

Tags: fridayqna blocks evilIt's Friday again, and that means another Friday Q&A. This week, Guy English proposed talking about a blocks-based object system, and that is what I will do. The system I've developed is a rudimentary system for doing object-oriented programming in pure C (plus blocks), and I'll discuss how it works and how to use it.

Tags: fridayqna codeinjection hack evilWelcome back to another exciting Friday Q&A.; This week I'll be taking Jonathan Mitchell's suggestion to talk about code injection, the various ways to do it, why you'd want to, and why you wouldn't want to.

IOCCC 2006 Winners at 2007-11-04 14:17
Tags: ioccc c evilThe winners of the 2006 IOCCC have been posted. Sadly I am not among the winners this year, but the winners all appear to be most deserving.

Score! at 2005-11-09 00:00
Tags: ioccc evil c lisp The International Obfuscated C Code Contest is a contest with the goal of creating the most unreadable, difficult-to-understand C program possible. Aside from being difficult to understand, the judges tend to prefer programs which do clever or interesting things, or which do mundane things in clever, interesting, or weird ways.