lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Monday 31 January 2005 10.43, Mike Pall wrote:
> Hi,
> David Olofson wrote:
> > Right, but I was thinking "wall clock" cycles, rather than the 
> > irrelevant theoretical instruction cycle counts. Either way, one 
> > only conclude that for one reason or another, any form of VM 
> > instruction decoding is rather expensive, compared to normal 
> > crunching code - and that it cannot be avoided.
> Have a look at:
> The EG03b paper is a nice introduction to the subject of VM tuning.
> The other papers provide more in-depth reviews of the various 

Looks familiar... I read a few similar documents before I hacked away 
on the VM. I considered some other approaches, but it seems like an 
instruction decoding switch() is the way to go on reasonably modern 
hardware - if one doesn't feel like diving into JIT compilers and 
stuff, that is.

Anyway, lots of interesting stuff there. Thanks!

//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
|  Free/Open Source audio engine for games and multimedia.  |
| MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> -'
   --- --- ---