Saturday, July 14, 2012

A New Objective-C Runtime

David Chisnall (via Graham Lee):

One of the biggest changes that the Étoilé runtime made was the message-lookup mechanism. First it made it possible for each object to have its own message-lookup function. Second it made the lookup function return a slot structure, rather than a method. The point of the slot structure was to make safely caching lookups possible using a lockless algorithm.

Comments RSS · Twitter

Leave a Comment