Re: What's so great about dynamic binding?

mlanett@void.ncsa.uiuc.edu (Mark Lanett)
Wed, 20 Nov 1991 02:30:22 GMT

          From comp.compilers

Related articles
Current work in compiler/language design. hackeron@Athena.MIT.EDU (Harris L. Gilliam - MIT Project Athena) (1991-11-10)
What's so great about dynamic binding? spitzak@girtab.usc.edu (1991-11-19)
Re: What's so great about dynamic binding? pardo@cs.washington.edu (1991-11-20)
Re: What's so great about dynamic binding? mlanett@void.ncsa.uiuc.edu (1991-11-20)
Re: What's so great about dynamic binding? barmar@think.com (1991-11-20)
Re: What's so great about dynamic binding? paj@uk.co.gec-mrc (1991-11-20)
| List of all articles for this month |

Newsgroups: comp.compilers
From: mlanett@void.ncsa.uiuc.edu (Mark Lanett)
Keywords: design, OOPS
Organization: University of Illinois at Urbana
References: 91-11-030 91-11-071
Date: Wed, 20 Nov 1991 02:30:22 GMT

spitzak@girtab.usc.edu (William Spitzak) writes:


>... I was able to eliminate even that virtual function. The big
>loss here is that every sub class needed a constructor to fill in that field
>with the correct pointer (the sort of thing we need better languages to
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>automate), but I quite successfully fully duplicated the function of the
  ^^^^^^^^
This is exactly what C++ *does* automate! All C++ virtual just get translated
into C pointers-to-functions -- why do it manually when the language does it
for you?!
--
Mark Lanett mlanett@uiuc.edu
Software Tools Group, NCSA, University of Illinois at Urbana-Champaign
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.