[MUD-Dev] Fw: 16K mud server competition !
Jon A. Lambert
jlsysinc at ix.netcom.com
Mon Apr 3 23:21:40 CEST 2000
Chris Gray wrote:
>
>Wow, that's not much space! I took a quick look at ToyMUD, to see if there
>was any chance of doing simple changes to shrink it down. However, it
>is 80K of code and 26K in the data file. I doubt I could shrink it to
>16K without losing some major feature or two. The first step would be
>one of those code obfuscators that removes whitespace and makes all
>identifiers one or two characters.
Well spaces, tabs and comments don't count towards the limit.
Yes, you could also get some mileage out of obfuscating keywords and
system functions with macros. You could move all your locals into global
space, drop all static references, and share them very carefully.
>16K is enough for a decent MUD, I think, but the result isn't going to
>be anything you'd want to show to your mother! I think a more reasonable
>size count would be one of those program complexity measures, so that
>you could at least read the resulting source code.
IIRC, DevMud was around 50k. It might be under the limit sans whitespace
and comments.
--
--* Jon A. Lambert - TychoMUD Email: jlsysinc at nospam.ix.netcom.com *--
--* Mud Server Developer's Page <http://jlsysinc.home.netcom.com> *--
--* "No Free man shall ever be debarred the use of arms." Thomas Jefferson *--
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev
More information about the mud-dev-archive
mailing list