Interface implementation

Ramiro Rodriguez <>
12 Oct 2004 00:57:23 -0400

          From comp.compilers

Related articles
Interface implementation (Ramiro Rodriguez) (2004-10-12)
Re: Interface implementation (2004-10-17)
Re: Interface implementation (2004-10-17)
Re: Interface implementation (2004-10-17)
Re: Interface implementation (Eric Eide) (2004-10-17)
Re: Interface implementation (Chris F Clark) (2004-10-17)
| List of all articles for this month |

From: Ramiro Rodriguez <>
Newsgroups: comp.compilers
Date: 12 Oct 2004 00:57:23 -0400
Organization: Compilers Central
Keywords: OOP, question
Posted-Date: 12 Oct 2004 00:57:23 EDT

I am writing a small compiler and i want the language to have
interfaces. The problem I am having is how to implement function calls
efficiently. When having simple class inheritance and polymorphism we
can have a call table and the function call be be mapped in assembly as
an offset into the table. However for things like interfaces this seems
to be not as easy if one allows multiple interface implementation. I
could do a table which is referenced by the name of the function but I
am wondering if there is some more efficient way of doing this.


Post a followup to this message

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