|[7 earlier articles]|
|Re: Templates in C++ email@example.com (1995-05-17)|
|Re: Templates in C++ firstname.lastname@example.org (1995-05-25)|
|Re: Templates in C++ email@example.com (1995-05-29)|
|Re: Templates in C++ firstname.lastname@example.org (1995-06-23)|
|Re: Templates in C++ email@example.com (1995-06-25)|
|Re: Templates in C++ firstname.lastname@example.org (1995-06-30)|
|Re: Templates in C++ email@example.com (1995-07-12)|
|From:||firstname.lastname@example.org (Christian Collberg)|
|Date:||Wed, 12 Jul 1995 00:57:54 GMT|
email@example.com (Alex Colvin) writes:
>One of the things that forces recompilation of C++ programs is that
>class definitions must list all their (private) members.
>Is the main reason for this the need for structure sizes at
>compile-time? Would link-time be sufficient? Could structure and stack
>frame sizes be computed at link time as the sum of constants generated
>by separate compilations?
>Are their many linkers capable of performing such arithmetic?
Yes, this technique is rediscovered every 3 years or so.
See Mary Fernandez' PLDI'95 paper and forthcoming Princeton
thesis, and my thesis (Flexible Encapsulation, Lund
University, Sweden, 1992).
For further references see
Christian Collberg | Email: firstname.lastname@example.org
Computer Science Dept | Fax: +64-9-373-7453
University of Auckland | Phone: +64-9-373-7599 x 6137
Private Bag 92019, | WWW: http://www.cs.auckland.ac.nz/~collberg/
Auckland, NZ |
Return to the
Search the comp.compilers archives again.