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

Re: Game Logic



On Thu, Aug 03, 2000 at 03:11:01PM +0000, Pierre Phaneuf wrote:

> No, I agree with you. I just wanted to speak my mind of something that
> was annoying me recently, as I am seeing more and more scripting
> languages embedded in games, even performance sensitive FPS like Quake3,
> and many of them using the known to be slower (by scientists) virtual
> machine approach of simulating a hardware machine with software, where
> the approach of directed graph of "chunky" execution nodes is much
> faster. Just look at how fast Perl is compared to Java (even the recent
> JIT compilers can only get so close to Perl).

It's the number of node executions needed to get the job done that's
important for speed.  How you've arranged them, tree or list, is much
less important.  A virtual machine executing from an array of high
level instructions is going to be faster than something walking a
directed graph of low level instructions.

-- 
Christopher John Purnell  | A friend in need's a friend in deed
http://www.lost.org.uk/   | A friend with weed is better
--------------------------| A friend with breasts and all the rest
What gods do you pray to? | A friend who's dressed in leather

---------------------------------------------------------------------
To unsubscribe, e-mail: linuxgames-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: linuxgames-help@sunsite.auc.dk