News for hackers. Stuff that matters.
Re:Show HN: Vivaldi programming language by munificent on Monday February 16, 2015 @02:13AM (#9055722)
> Originally it was stored in the method, but that required copying each type's methods (and each parents' methods) into an object on instantiation, which was a pretty much unacceptable performance hit.

I think more a typical solution is to dynamically bind `self` like you do now on normal method calls. But when a reference to a method is stored, you bind `self` to the original receiver at that point in time.

Basically, you treat it like a closure.

There are no comments on this comment yet.