[MUD-Dev] Re: Wild idea.. :)

Ben Greear greear at cyberhighway.net
Fri Sep 4 22:56:35 CEST 1998


On Fri, 4 Sep 1998, Vadim Tkachenko wrote:

> I guess would there be a good object-oriented database engine, people
> woul've been using it already :-(((

Yep, Yep :(

> 
> > Right now, I'm leaning towards coding my own..as I have to do a bunch
> > of encoding work anyway to get the mobile objects to work across
> > servers.  (ie, encode...put-on-socket...decode)
> 
> ... which, again, reminds me of the way I do it: I have
> transaction-oriented protocol adapters on top of stream-oriented. Just
> today was solving a problem - how to support the streaming request (in
> my particular case, it's backup or restore) over such architecture
> without penetrating the transaction/stream border. And getting back to
> the topic, 'implements java.io.Serializable', huh? Do you use/plan
> CORBA? RMI? Does anyone have a first-hand experience with comparing
> those two?

Serializable uses reflection, afaik.  This is inherently slow, even
for Java.  I cases where this doesn't matter, then it is a very handy
feature when it works..but for me it definately won't cut it.

With java or c++, I will encode to binary and ship bytes over
a socket...decode on other end.

> 
> Related question (off the top of my head, so that's just a thought
> aloud): is Java serialized stream documented? (guess so) What is a cost
> of cross-platform (mean cross-language and big/little endian (or it's
> always network order?)) serialization engine? (guess VERY HIGH)

Java is always NBO, but of course, it has to be translated at some
level.  However, that will always be the case on Intel machines,
no matter the language...


Since I will eventually have to call c/c++ code (ie the graphics
package), I'm now leaning towards using c++.  Probably change my
mind again tomorrow.... ****aaaaahhhhhh****

Ben

> 
> > Ben Greear (greear at cyberhighway.net)  http://www.primenet.com/~greear
> 
> -- 
> Still alive and smile stays on,
> Vadim Tkachenko <vt at freehold.crocodile.org>
> --
> UNIX _is_ user friendly, he's just very picky about who his friends are
> 
> -- 
> MUD-Dev: Advancing an unrealised future.
> 


Ben Greear (greear at cyberhighway.net)  http://www.primenet.com/~greear 
Author of ScryMUD:  mud.primenet.com 4444
http://www.primenet.com/~greear/ScryMUD/scry.html






More information about the mud-dev-archive mailing list