[MUD-Dev] Python script as stand alone MUD server...

Sean Middleditch elanthis at awesomeplay.com
Tue Jan 27 21:21:01 CET 2004


On Mon, 2004-01-26 at 21:36 -0500, Brian Hook wrote:

> Not just Python, but other equally likely candidates such as Ruby
> (other than supposedly being Godawful slow, at least according to
> the GCLS*), JavaScript (via SpiderMonkey embedding) and Lua (which
> I'm using).

Ruby is indeed slower than molasses.  The technical explanation is
that Ruby operates directly on a parse tree.  This means that
execution relies on recursively called functions (sickening amount
of wasted cycles) and that the "byte code" is scattered all over
memory (hello cache thrashing).  Ruby 2 (codenamed Rite) is planned
to move over to a bytecode/VM approach as used by
Python/Lua/Scriptix/Java/etc., and so should be a whole lot faster.

--
Sean Middleditch <elanthis at awesomeplay.com>
AwesomePlay Productions, Inc.
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list