home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / compiler / 1496 < prev    next >
Encoding:
Text File  |  1992-09-01  |  2.6 KB  |  66 lines

  1. Newsgroups: comp.compilers
  2. Path: sparky!uunet!think.com!spdcc!iecc!compilers-sender
  3. From: "Ed Cynwrig Dengler" <eadengle@watcgl.uwaterloo.ca>
  4. Subject: Dealing with Multiple Inheritence in an Object-Oriented Language
  5. Reply-To: "Ed Cynwrig Dengler" <eadengle@watcgl.uwaterloo.ca>
  6. Organization: Compilers Central
  7. Date: Tue, 1 Sep 1992 14:05:23 GMT
  8. Approved: compilers@iecc.cambridge.ma.us
  9. Message-ID: <92-09-015@comp.compilers>
  10. Keywords: OOP, design
  11. Sender: compilers-sender@iecc.cambridge.ma.us
  12. Lines: 52
  13.  
  14. Greetings!
  15.  
  16. I am trying to find references to articles that deal with the problems of
  17. dealing with and representing multiple inheritence in a compiled program.
  18. I am also interested in any articles that deal with how large typical
  19. object-oriented classes get (ie. how many features/routines does a typical
  20. class define, how many classes are typically inherited from, how deep the
  21. inheritence tree gets, how often a feature is renamed).
  22.  
  23. The only reference I have currently is "An Object Addressing Mechanism for
  24. Statically Typed Languages with Multiple Inheritence" by R.C.H.  Conner,
  25. A. Dearle, R. Morrison, and A.L. Brown.
  26.  
  27. The reason for this request is that I am doing a project evaluating
  28. modification of the "map" system presented in the above article, and would
  29. like to compare the original "map" system and the modified one to any
  30. other methods out there.
  31.  
  32. For example, assuming I had the following class structure:
  33.                 A.a
  34.                  .b
  35.                /   \
  36.              B.c   C.d (renamed from A's b)
  37.               .e    .c
  38.                \   /
  39.                 D.f
  40.                 D.g (renamed from C's c)
  41.  
  42. where: class A has the features a,b
  43.        class B has the features a,b,c,e
  44.        class C has the features a,d,c
  45.        class D has the features a,b,c,d,e,f,g
  46.  
  47. I am trying to find answers to the following questions:
  48.     a) What other schemes are there?
  49.     b) How is multiple inheritence handled (this includes what restrictions
  50.        the scheme forces on multiple inheritence)?
  51.     c) If an object is assigned to a variable that is of an inherited class
  52.        type, how is the object changed to allow correct addressing of the
  53.        fields/features/routines (eg. an object x of class D is assigned
  54.        to variable y of class C, how is y.c handled)?
  55.     d) Approximately how long would it take to do the assignment and/or
  56.        find a given feature in a variable?
  57.     e) How much space does the cheme take up?
  58.  
  59. Any references to articles would be greatly appreciated!
  60.  
  61. Thanks in advance,
  62. Ed Dengler
  63. -- 
  64. Send compilers articles to compilers@iecc.cambridge.ma.us or
  65. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  66.