NSBlog
"A failure in the hot air department"
Showing entries tagged "trampoline". Full blog index.
Friday Q&A 2011-05-06: A Tour of MABlockClosure
at 2011-05-06 17:34
It's a week late, but it's finally time for the latest edition of Friday Q&A. About a year ago, I wrote about converting blocks into function pointers by building code at runtime. This was an interesting exercise, but ultimately impractical due to various limitations. In the meantime, I wrote MABlockClosure, a more robust and usable way of doing the same thing, but I never posted about it. Landon Fuller suggest I discuss how it works, and so that is what I will talk about today.
Link: Implementing imp_implementationWithBlock
at 2011-04-14 16:26
Friend of the blog Landon Fuller has created a third-party implementation of Apple's new
imp_implementationWithBlock
API, and has also written a blog post on how it all works.Friday Q&A 2010-02-12: Trampolining Blocks with Mutable Code
at 2010-02-12 18:20
Welcome 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.