[MUD-Dev] Virtual machine design
Petri Virkkula
pvirkkul at iki.fi
Sun Apr 18 13:56:04 CEST 1999
>>>>> "Ben" == Ben Greear <greear at cyberhighway.net> writes:
Ben> 2) Common users can script, so I definately see the need for simple
Ben> scripting.
What's the difference between scripting and programming? Is
scripting a some sort of "ad hoc programming"?
Ben> 3) I understand that many people strive for a basic interpreter
Ben> type of shell, which is incredibly flexible, and then use this
Ben> language to write their game particulars in. However, to me this
Ben> looks a lot like re-writing the OS.
Modern operating systems protects processes from each
others. However granularity of the protection might not be
enough: the protection is basically limited to full virtual
memory of processes.
IMHO it is very desirable to make protection between objects,
ie. if an object makes an illegal operation it cannot (too badly)
disturb state of other objects or the system as whole. Ie. the
interpreter works just like an operating system, but with
smaller granularity. It is also desirable to have more higher
level services, for example it easier just to
write_file("myfile", "append this text\n") instead of opening
a file, appending something to it and then closing the file.
Petri
_______________________________________________
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