Some questions

Sebastian Sastre ssastre at seaswork.com
Thu Apr 26 15:17:25 UTC 2007


> > Why do you need to build an indirect jump table? What are 
> you trying 
> > to do?
> >
> I am implementing a smalltalk. It compiles directly to 
> machine code, with exupery. The last time I asked something 
> to the list I was starting to use exupery. Now I am almost 
> done with that (without many optimizations). I am doing unit 
> testing right now.
> My first mail to the list asked what would be the best to 
> implement a new st, so, in my implementation I use:
> 0 tagged ints.
> A simple (and a little fat) object memory.
> A very straightforward send mechanism (with C calling 
> convention for calling methods).
> No contexts, but using BlockClosures (frames are the same as 
> in C, the C compiler does not differentiate C code from ST code).

Hi Guille, I don't get something here. If you are using Exupery to generate
asm code why are you talking about a C compiler?

> I compile the ST code from .st files to .s (assembler) using 
> SmaCC, RefactoryBrowser, and then exupery, I still need 
> squeak in order to run all that.
> I only use the bottom layer of exupery, (does not use 
> IntermediateXXXXXX
> classes)
> I implemented the cmovxx instruction in exupery, because it 
> is very useful.
> But I need jump tables to implement for example, faster 
> versions of ifTrue:ifFalse:, and a lot of other things. This 
> could lead to faster results.
> Right Now I am getting (with the same machine), tinyBenchmarks:
> Squeak: 172043010 bytecodes/sec; 5468700 sends/sec
> Squeak/Exupery: 775757575 bytecodes/sec; 13569800 sends/sec.
> myST/Exupery: 1072251308 bytecodes/sec; 36056442 sends/sec
> 
That are numbers! 

Cheers,

Sebastian 


> > Bryce
> > _______________________________________________
> > Exupery mailing list
> > Exupery at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/exupery
> >
> Cheers
> Guille
> 
> _______________________________________________
> Exupery mailing list
> Exupery at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/exupery



More information about the Exupery mailing list