[MUD-Dev] Storing tokens with flex & bison

cg at ami-cg.GraySage.Edmonton.AB.CA cg at ami-cg.GraySage.Edmonton.AB.CA
Sun Jan 2 19:30:23 New Zealand Daylight Time 2000

[Kevin Littlejohn:]

> ...python seems to gain from using byte-code rather than straight
> interpretation, and it's most definately _not_ strongly typed or static
> in it's variable definitions.

Perhaps their interpretation scheme wasn't as efficient as it could be?
Hard to say without looking into how it all works. However, as with any
attempt to speed things up, you have to be aware of all of the things
that are costing you lots of time, and try to fix all of them.

> What about LPC?  Does it do the same thing - I seem to recall the words
> "semi-compiled", from my vague memories of working with it...?

Way back, it wasn't very fast, is my recollection. I've heard since then,
however, that the newer versions have a byte-code machine of some kind, and
it is now lots faster.

My personal experience with my byte-code, and how it affected run-time
speed, can be found in:


Don't design inefficiency in - it'll happen in the implementation.

Chris Gray     cg at ami-cg.GraySage.Edmonton.AB.CA

MUD-Dev maillist  -  MUD-Dev at kanga.nu

More information about the MUD-Dev mailing list