Thursday, July 21, 2011

Objective-C Tagged Pointers in Lion

Bavarious notes that Lion can represent some numbers—and, potentially, dates and managed objects(!)—as immediates, without allocating any memory. This is a really old trick, which I guess they couldn’t do until direct isa access had been phased out, but it’s certainly welcome for those of us who create lots of little objects.

1 Comment RSS · Twitter

Interesting evolution of the runtime, that has implications for the evolution of the language itself. It's time they drop the pointer part of objects.. Nobody dereferences those anymore, and now those pointers are not always pointers anyway :)

Leave a Comment