mikeash.com: just this guy, you know?

NSBlog
"A failure in the hot air department"
RSS feed (full text feed) - Show Tag Cloud
Showing entries tagged "trampoline". Full blog index.

by Mike AshTags: fridayqna blocks trampoline libffi
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.

by Mike AshTags: link hack trampoline
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.

by Mike AshTags: fridayqna blocks trampoline assembly evil
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.
Hosted at DigitalOcean.