[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re[2]: Still cryptic OOP syntax
- From: David Olofson <david@...>
- Date: Mon, 31 Jan 2005 16:56:49 +0100
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 
rather 
> > irrelevant theoretical instruction cycle counts. Either way, one 
can 
> > only conclude that for one reason or another, any form of VM 
> > instruction decoding is rather expensive, compared to normal 
number 
> > crunching code - and that it cannot be avoided.
> 
> Have a look at:
> 
>   http://www.complang.tuwien.ac.at/papers/
> 
> The EG03b paper is a nice introduction to the subject of VM tuning.
> The other papers provide more in-depth reviews of the various 
approaches.
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,... |
`-----------------------------------> http://audiality.org -'
   --- http://olofson.net --- http://www.reologica.se ---