MUD-Dev
mailing list archive

[ Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

Re: [MUD-Dev] Languages



[Miro:]

:(I consider GC to be the key feature of a MUD language, after
:incredible ammount of time wasted on tracing leaks, bad access,
:and similar problems. C++ constructors and destructors alleviate
:this problem, but if you run out of luck, not even Purify will
:save you.)

Is that in the MUD language, or the language used to implement the MUD?

Neither of mine has a garbage collector. The implementation language is
like C with syntax. The MUD language has types like strings, lists, tables,
etc. mostly stored in the database (not strings, which are not use-
counted). When a db entity's usecount goes to zero, it is deleted, and
the use-counts of anything it points at decremented, etc.

--
Chris Gray   cg#ami-cg,GraySage.Edmonton.AB.CA



[ Other Periods  | Other mailing lists  | Search  ]