[DGD] Java or LPC (DGD)?

Ben Chambers bjchamb at bellsouth.net
Sun Aug 10 16:06:22 CEST 2003



-----Original Message-----
From: dgd-admin at list.imaginary.com [mailto:dgd-admin at list.imaginary.com] On
Behalf Of Felix A. Croes
Sent: Sunday, August 10, 2003 7:33 AM
To: dgd at list.imaginary.com
Subject: Re: [DGD] Java or LPC (DGD)?

"Ben Chambers" <bjchamb at bellsouth.net> wrote:

> Java
>
>[...]
>
> + Better syntax for objects (in my opinion, the C++/Java object system is
> much cleaner than the one used in LPC)

What in particular do you consider to be better about the syntax?

The idea of each file being a class is bizarre.  It is easier to think of
each class as an object, and then each object can have the type of functions
private/public/protected) which I don't see happening in DGD.


> - Possibly slower?

LPC used to be faster, but these days it's probably the other way around.


> LPC
>
> + Designed explicitly for a MUD Server
>
> + Gives persistence for free

DGD has persistence to a degree that is not possible with Java.


>[...]
> 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?

 - Java is multi-threaded
 - LPC has multiple inheritance
 - Java has interfaces, LPC has include files
 - Java has much stronger typing (a bit too strong for a persistent
   system, perhaps)
 - Java has more basic datatypes (for example, different integer types)
 - Java's error handling is more fine-grained; DGD has atomic error
   handling

And I would use DGD, of course. :)

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd


_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list