MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Re: DevMUD: Inheritable modules
On Fri, 30 Oct 1998, Adam J. Thornton wrote:
>I very much like the idea of doing the core of the server in ANSI C with
>POSIX functions, and implementing (as a module, of course) an OO scripting
>langage for actual world development on top of it.
>
>That's mostly because I understand C a lot better than I do C++; this is
>basically a personal aesthetic judgment on my part. However, I think the
>core will tend to be smaller, cleaner, and easier to read if we stick with
>C.
certainly more portable. I have had a devil of a time with different C++
compilers' disagreements on such basic things as the return type of
foo ? bar : baz. Oops - did I just say something in favor of a kernel in C? ;)
[what goes into the core snipped]
>I think there ought to be a one-to-one thread-to-connection mapping (there
>may of course be non-connection oriented threads going on, but each
>connection presumably requires its own thread, unless we want to make the
>I/O model nonblocking, which I think will get unwieldy for large numbers of
>players). Also message queues of some sort to handle the data that each
>connection is transporting.
>
async i/o and thread pools scale much better than thread-per-connection,
as I understand it.
>So basically the core (in my idea of it) would not do much except handle
>connections, broker them, and multiplex/demultiplex the data going through
>them. This is going to be kernel-like, so it's not really that important
>to be able to dynamically load it or unload it--I can't imagine a MUD that
>did not provide these services. And I think this bottom layer would be a
>couple thousand lines of C: quite small.
yes, this much is straightforward. It's the module abstraction that seems to
be problematic.
James
- Thread context:
- [MUD-Dev] Re: DevMUD: Inheritable modules, (continued)
- [MUD-Dev] Re: DevMUD: Inheritable modules,
Darrin Hyrup shades#mythicgames,com, Fri 30 Oct 1998, 17:25 GMT
- [MUD-Dev] Re: DevMUD: Inheritable modules,
Adam J. Thornton adam#phoenix,Princeton.EDU, Fri 30 Oct 1998, 18:47 GMT
- [MUD-Dev] Re: DevMUD: Inheritable modules,
James Wilson jwilson#rochester,rr.com, Sat 31 Oct 1998, 00:05 GMT
- [MUD-Dev] Re: DevMUD: Inheritable modules,
Jon A. Lambert jlsysinc#ix,netcom.com, Sat 31 Oct 1998, 07:47 GMT
- [MUD-Dev] Why modules? (Was: Inheritable modules),
Ola Fosheim Grøstad olag#ifi,uio.no, Sat 31 Oct 1998, 14:13 GMT
- [MUD-Dev] Re: Why modules? (Was: Inheritable modules),
Thandor thandor#donut,dhis.org, Sat 31 Oct 1998, 15:06 GMT
- [MUD-Dev] Re: Why modules? (Was: Inheritable modules),
Vadim Tkachenko vt#freehold,crocodile.org, Sat 31 Oct 1998, 23:04 GMT
[ Other Periods
| Other mailing lists
| Search
]