[Vm-dev] [NB] NativeBoost meets JIT

David T. Lewis lewis at mail.msen.com
Fri Sep 21 15:15:33 UTC 2012


On Fri, Sep 21, 2012 at 04:59:36PM +0200, Igor Stasenko wrote:
>  
> Hello there,
> 
> so, we're entered a new area, where native code, generated from image
> side can be run directly by JIT.
> This feature was one of the first things which i wanted to try, once
> Eliot released Cog :)

I must confess that I am not do not know much about jitting and code
generation, but ....


> 
> So, here the result, if we extract the loop overhead, we can see the
> difference in
> calling our native code when it uses JIT vs using #primitiveNativeCall :
> 
> (6995 - 679 ) / (897- 679) asFloat 28.972477064220183
> 
> 28 times faster!!!!
> 

This is very impressive work :)

Dave



More information about the Vm-dev mailing list