Mathieu Suen | 5 Jul 21:15
Picon
Favicon

Papers that inspire Exupery

Hi Bryce,

I would like to know if you can provide us a list a papers on Jit.
Anything that inspire/explain what your doing in Exupery.

And also what do you think of stack base VM vs. register base VM?
I am asking because in smalltalk I am wondering if it worth register base VM.

Thanks

	Mth

	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
Bryce Kampjes | 5 Jul 23:35
Picon
Picon

Re: Papers that inspire Exupery

On Mon, 2010-07-05 at 21:15 +0200, Mathieu Suen wrote:
> Hi Bryce,
> 
> I would like to know if you can provide us a list a papers on Jit.
> Anything that inspire/explain what your doing in Exupery.

http://wiki.squeak.org/squeak/5792

The short answer is it's an attempt build on the insights from Holzle's
work on Self compilation and allow type feedback to be used with solid
optimization.

Good inlining and type information through type feedback opens the door
to serious optimization but standard type feedback VMs rely on very fast
compilers which don't have time to optimize well.

> And also what do you think of stack base VM vs. register base VM?
> I am asking because in smalltalk I am wondering if it worth register base VM.

My view is the bytecode should be stack based but the JIT register
based. It's easy to do very good register allocation across trees (i.e.
stack based). 

Trees are a convenient structure to work with and a stack based bytecode
is just a linear representation of a tree.

If you're optimizing heavily it doesn't matter too much what
representation you choose as you'll transform it through several
representations during compilation. If you're optimizing quickly and
simply trees are convenient.
(Continue reading)

Mathieu Suen | 6 Jul 19:02
Picon
Favicon

Re: Papers that inspire Exupery

On Jul 5, 2010, at 11:35 PM, Bryce Kampjes wrote:

> On Mon, 2010-07-05 at 21:15 +0200, Mathieu Suen wrote:
>> Hi Bryce,
>> 
>> I would like to know if you can provide us a list a papers on Jit.
>> Anything that inspire/explain what your doing in Exupery.
> 
> http://wiki.squeak.org/squeak/5792

Link of your papers seems broken.

> 
> The short answer is it's an attempt build on the insights from Holzle's
> work on Self compilation and allow type feedback to be used with solid
> optimization.
> 
> Good inlining and type information through type feedback opens the door
> to serious optimization but standard type feedback VMs rely on very fast
> compilers which don't have time to optimize well.
> 
>> And also what do you think of stack base VM vs. register base VM?
>> I am asking because in smalltalk I am wondering if it worth register base VM.
> 
> My view is the bytecode should be stack based but the JIT register
> based. It's easy to do very good register allocation across trees (i.e.
> stack based). 
> 
> Trees are a convenient structure to work with and a stack based bytecode
> is just a linear representation of a tree.
(Continue reading)

Bryce Kampjes | 6 Jul 23:34
Picon
Picon

Re: Papers that inspire Exupery

On Tue, 2010-07-06 at 19:02 +0200, Mathieu Suen wrote:
> On Jul 5, 2010, at 11:35 PM, Bryce Kampjes wrote:
> 
> > On Mon, 2010-07-05 at 21:15 +0200, Mathieu Suen wrote:
> >> Hi Bryce,
> >> 
> >> I would like to know if you can provide us a list a papers on Jit.
> >> Anything that inspire/explain what your doing in Exupery.
> > 
> > http://wiki.squeak.org/squeak/5792
> 
> Link of your papers seems broken.

Hmm, it is. I'll need to investigate.

> > 
> > The short answer is it's an attempt build on the insights from Holzle's
> > work on Self compilation and allow type feedback to be used with solid
> > optimization.
> > 
> > Good inlining and type information through type feedback opens the door
> > to serious optimization but standard type feedback VMs rely on very fast
> > compilers which don't have time to optimize well.
> > 
> >> And also what do you think of stack base VM vs. register base VM?
> >> I am asking because in smalltalk I am wondering if it worth register base VM.
> > 
> > My view is the bytecode should be stack based but the JIT register
> > based. It's easy to do very good register allocation across trees (i.e.
> > stack based). 
(Continue reading)


Gmane