Related articles |
---|
Optimization for OOP sgkelly4@gmail.com (2008-05-03) |
Re: Optimization for OOP torbenm@app-1.diku.dk (2008-05-05) |
Re: Optimization for OOP mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2008-05-05) |
Re: Optimization for OOP dot@dotat.at (Tony Finch) (2008-05-05) |
Re: Optimization for OOP lucretia9@lycos.co.uk (lucretia9@lycos.co.uk) (2008-05-05) |
Re: Optimization for OOP mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2008-05-06) |
Re: Optimization for OOP sgkelly4@gmail.com (2008-05-06) |
From: | "lucretia9@lycos.co.uk" <lucretia9@lycos.co.uk> |
Newsgroups: | comp.compilers |
Date: | Mon, 5 May 2008 18:51:58 -0700 (PDT) |
Organization: | Compilers Central |
References: | 08-05-008 08-05-010 08-05-011 |
Keywords: | OOP, optimize |
Posted-Date: | 05 May 2008 23:16:11 EDT |
On 5 May, 17:37, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
> I think a consistent types system would be a better way. In Ada it
> is always known if a call is dispatching or not. That is because of
> proper typing. When an object is of a specific type, its methods
> never dispatch, for that obvious reason, that the type is known to
> be specific.
From what I've read about it, in Ada you can actually statically or
dynamically dispatch depending on *how* you call the subprogram. I've
not tried this BTW, but would love to see an example :D
Luke.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.