[MUD-Dev] Re: PDMud thread summary

Niklas Elmqvist d97elm at dtek.chalmers.se
Sat Oct 24 07:31:17 New Zealand Daylight Time 1998

On Fri, 23 Oct 1998, Adam J. Thornton wrote:
> On Fri, Oct 23, 1998 at 05:54:13PM +0100, Jo Dillon wrote:
> > Steve Sparks (ssparks at enigma.sss.org) spake thusly:
> > > What kind of database is usually used?  
> > > If you use a relational database does someone then create a series of
> > > stored procedure that can be called to help speed implementation. If you
> > > do then would they be something like the implied functionality of these:
> >   I'm not sure I like the idea of a relational database. They tend to
> > be inefficient in my limited experience, and also I think some sort of OO
> > database is going to make more sense for a mud.
> Take a look at PostgreSQL.  It's what I'd been planning to use.  However,
> I'm not sure that using a real database makes more sense than a
> lighterweight persistent object interface like, e.g. Texas Persistent
> Store.

I've looked at Texas (courtesy of tip from JCL), and *I* thought it looked
very good. Easy to use, at least in my impression, but of course I never
got around to actually try it out. 

The question that bugs me now, however, is this: Can Texas Persistent
Store be used as part of a dynamically loaded module (shared lib), as it
will have to be if it is to be used in PDMud? I vaguely recall seeing some
kind of macro having to be called in the main procedure of the program in
order to use it. IOW, can this initialization macro be called in a _init()
procedure of a shared lib and still work? 

Second question: Will the tdesc program which is supposed to be run on the
header files (if I remember correctly) work on shared libs?

Anyone with experience in actually using Texas PS?

> Adam

-- Niklas Elmqvist (d97elm at dtek.chalmers.se) ----------------------
  "The trouble with being a god is that you've got no one to 
   pray to."
		-- Terry Pratchett, Small Gods

More information about the MUD-Dev mailing list