Re: Detailed algorithms on inline optimization

Tony Finch <dot@dotat.at>
21 Jan 2010 15:45:15 +0000 (GMT)

          From comp.compilers

Related articles
[2 earlier articles]
Re: Detailed algorithms on inline optimization holgersiegel74@yahoo.de (Holger Siegel) (2010-01-20)
Re: Detailed algorithms on inline optimization bobduff@shell01.TheWorld.com (Robert A Duff) (2010-01-19)
Re: Detailed algorithms on inline optimization gneuner2@comcast.net (George Neuner) (2010-01-19)
Re: Detailed algorithms on inline optimization miles@gnu.org (Miles Bader) (2010-01-20)
Re: Detailed algorithms on inline optimization rangsynth@gmail.com (Robin Holmes) (2010-01-20)
Re: Detailed algorithms on inline optimization jeremy.wright@microfocus.com (Jeremy Wright) (2010-01-20)
Re: Detailed algorithms on inline optimization dot@dotat.at (Tony Finch) (2010-01-21)
Re: Detailed algorithms on inline optimization bear@sonic.net (Ray) (2010-01-21)
Re: Detailed algorithms on inline optimization bobduff@shell01.TheWorld.com (Robert A Duff) (2010-01-21)
Re: Detailed algorithms on inline optimization cdodd@acm.org (Chris Dodd) (2010-01-23)
Re: Detailed algorithms on inline optimization mcrodgers@gmail.com (Martin Rodgers) (2010-01-24)
Re: Detailed algorithms on inline optimization anton@mips.complang.tuwien.ac.at (2010-01-25)
Re: Detailed algorithms on inline optimization monnier@iro.umontreal.ca (Stefan Monnier) (2010-01-25)
[5 later articles]
| List of all articles for this month |

From: Tony Finch <dot@dotat.at>
Newsgroups: comp.compilers
Date: 21 Jan 2010 15:45:15 +0000 (GMT)
Organization: dotat labs
References: 10-01-058 10-01-067
Keywords: optimize
Posted-Date: 21 Jan 2010 14:53:18 EST



Robin Holmes <rangsynth@gmail.com> wrote:
>
> http://pacificv.prophp.us/rod.php


This article says "to date in 2009 there has not been a way to
generally program an application like normal with OOP, and then
somehow get the objects and virtual functions to become optimized at
runtime".


This is not true: trace JITs such as TraceMonkey or LuaJIT 2 can
devirtualize and inline method calls.


20 years ago the Self compiler used static type analysis to
devirtualize method calls.
http://research.sun.com/self/papers/iterative-type-analysis.html


Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
FAIR ISLE FAEROES SOUTHEAST ICELAND: SOUTHEAST 7 TO SEVERE GALE 9, VEERING
SOUTH 5 OR 6 LATER EXCEPT EAST FAIR ISLE AND EAST FAEROES. VERY ROUGH OR HIGH.
RAIN OR SHOWERS. MODERATE OR GOOD, OCCASIONALLY POOR.



Post a followup to this message

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