[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 CET 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:

    http://www.GraySage.Edmonton.AB.CA/cg/MUD/AmigaMUD/ByteCode.txt

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

Chris Gray     cg at ami-cg.GraySage.Edmonton.AB.CA
               http://www.GraySage.Edmonton.AB.CA/cg/



_______________________________________________
MUD-Dev maillist  -  MUD-Dev at kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list