Re: Implementation of "class inheritance" in a compiler

hannah@schlund.de (Hannah Schroeter)
2 Oct 2004 01:16:02 -0400

          From comp.compilers

Related articles
Implementation of "class inheritance" in a compiler dev@gioelebarabucci.com (Gioele Barabucci) (2004-09-08)
Re: Implementation of "class inheritance" in a compiler pohjalai@cc.helsinki.fi (A Pietu Pohjalainen) (2004-09-13)
Re: Implementation of "class inheritance" in a compiler arnold@skeeve.com (2004-09-13)
Re: Implementation of "class inheritance" in a compiler tzvetanmi@yahoo.com (2004-09-13)
Re: Implementation of "class inheritance" in a compiler dev@gioelebarabucci.com (Gioele Barabucci) (2004-09-24)
Re: Implementation of "class inheritance" in a compiler hannah@schlund.de (2004-10-02)
Re: Implementation of "class inheritance" in a compiler arnold@skeeve.com (2004-10-04)
| List of all articles for this month |

From: hannah@schlund.de (Hannah Schroeter)
Newsgroups: comp.compilers
Date: 2 Oct 2004 01:16:02 -0400
Organization: Schlund + Partner AG
References: 04-09-072 04-09-090 04-09-139
Keywords: OOP
Posted-Date: 02 Oct 2004 01:16:02 EDT

Hello!


Gioele Barabucci <dev@gioelebarabucci.com> wrote:
>[...]


>Does anybody knows of other books or papers that deal with
>single-inheritance compiled languages? I'm mostly interested in papers
>that analyze and discuss improvements (in terms of run time reduction)
>over current practices.


No book or paper, but have you had a look at the implementation
techniques used by SmallEiffel/SmartEiffel?


They have a few papers online here:
    http://smarteiffel.loria.fr/technical/technical.html


One point is that SmartEiffel analyzes the whole program for e.g.
which classes are there at all, so method calls can sometimes be
completely dispatched statically or compiled into decision trees,
so it doesn't use vtables and indirect jumps at all.


Kind regards,


Hannah.


Post a followup to this message

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