[Home] [Groups] - Message: [Prev in Group] [Next in Group]
12390: Re: [MUD-Dev] Storing tokens with flex & bison
[Full Header] [Plain Text]
From: cg@ami-cg.GraySage.Edmonton.AB.CA
Newsgroups: nu.kanga.list.mud-dev
Date: Sun, 2 Jan 2000 19:30:23 -0700
Organization: Kanga.Nu
[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@ami-cg.GraySage.Edmonton.AB.CA
http://www.GraySage.Edmonton.AB.CA/cg/
_______________________________________________
MUD-Dev maillist - MUD-Dev@kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev