On Wed, May 28, 2003 at 06:35:31AM -0700, David Storrs wrote: > On Wed, May 28, 2003 at 04:41:36AM -0600, Luke Palmer wrote: > > I know it's compile-time binding, but... what's compile-time binding? > > Luke > > Well, perhaps I'm mistaken, but I had understood it to mean simply > [...] > > - Named variables have their addresses hardcoded during compilation > - Global variables given offset from start of global data area > - Local variables given offset from top of stack > - Object variables given offset from start of object data > - Normal function and method calls are hardcoded during compilation > - Normal functions have specific starting address in object file > - Object methods have specific starting address in object file > - Compiler is able to determine which function matches each call > > (The above shamelessly cribbed from: > http://www.cs.sbcc.net/~shouk/polyhi/tsld005.htm, because it's 9:34 AM > and my brain doesn't wake up for at least another half hour.)
(Responding to my own post) I suppose I should explicitly state that P6 will probably implement things a little differently from the details described above (e.g., I don't know that we will have one-and-only one global data area), but the above describes the general concept. --Dks