[Home] [Groups] - Message: [Prev in Group] [Next in Group]
29141: Re: [MUD-Dev] Python script as stand alone MUD server...
[Full Header] [Plain Text]
From: Sean Middleditch <elanthis@awesomeplay.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 27 Jan 2004 21:21:01 -0500
References: [1]
Organization: Kanga.Nu
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@awesomeplay.com>
AwesomePlay Productions, Inc.
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev