[DGD] Java or LPC (DGD)?
Kris Van Hees
aedil at alchar.org
Sun Aug 10 07:39:03 CEST 2003
Well, there are a few more distinguishing aspects when comparing Java and LPC:
- Java only supports single inheritance (and no, interfaces doesn't solve
that for real), whereas LPC has multiple-inheritance. When writing a
quite dynamic piece of code (which many MUDs tend to be when creators
can write their own areas), single-inheritance can be a real pain.
- Extending Java with native code is a pain to say the least, whereas
implementing some functionality in C in DGD is quite easy.
- Memory management in Java is commonly less conservative than it is in
DGD.
It does surprise me though that you state that the C++ and Java object systems
are cleaner in your opinion. I have not often heard people state that,
especially not about C++ :-)
Kris
On Sun, Aug 10, 2003 at 01:18:44AM -0400, Ben Chambers wrote:
> I know both well, and have arguments both ways. Which language would be
> better to use when developing a MUD from scratch?
>
>
>
> Java
>
> + Open Source Tools available (especially JUnit, for testing)
>
> + Common Language with more easily available support
>
> - Less support available explicitly for MUDs
>
> + Library already includes Web Server and a Random Number Generator that
> supports normally distributed numbers (something I would have to add to LPC
> one way or another)
>
> + Better syntax for objects (in my opinion, the C++/Java object system is
> much cleaner than the one used in LPC)
>
> - Possibly slower?
>
>
>
> LPC
>
> + Designed explicitly for a MUD Server
>
> + Gives persistence for free
>
> - Not as supported in general, although more resources are available for
> MUD design.
>
> + Possibly Faster?
>
>
>
> Are there any points for either of the two that I missed? Which of the
> points that I put in there aren't really significant? Which language would
> you recommend?
>
>
>
> -- Ben
>
--
Never underestimate a Mage with:
- the Intelligence to cast Magic Missile,
- the Constitution to survive the first hit, and
- the Dexterity to run fast enough to avoid being hit a second time.
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list