News for hackers. Stuff that matters.
Re:Zero-Overhead Metaprogramming by malkia on Thursday June 18, 2015 @07:15PM (#9742165)
Haven't read it fully, but the first thing that popped in my head - wouldn't Apple benefit from this? There was one very detailed article on how their object method lookup changed over the years, but can't find it right now (Objective C).
Re:Zero-Overhead Metaprogramming by chrisseaton on Friday June 19, 2015 @12:40AM (#9743034)
I'm not an expert in Objective C but I believe that all dispatch is done by a library call that accepts the receiver, the message name, and the arguments. This means that there isn't any place to store per-call-site data, such as the kind of caches used in this paper.