[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Messaging system



Christian Reiniger wrote:

>
>
> >hand we can always add this functionallity in later if we think we need it.
>
> As adding this functionality would alter the specified behavior (programmers have to be able to rely on this behavior) IŽd think thrice before doing this.

No it doesn't change any behaviour, I should have made that clear.  We just extend the API with specializedversion of connect() which connect to receivers
not derived from ppReceiver.  Code using the normal version
of connect() would continue to work as before.

>
>
> I currently try to synchronize all changes with the Gtk-- team, so both systems will have the same behavior, same features, same handling
> - just different naming schemes. I think this is a good solution.

Well, you're the one who has to maintain the code, so I guess its your call.


>
>
> >One approach is to create a new microproject  to develop  a GTK compatible C++ template
> >library
> >for sending messages about.  This library would try to trancend GUI and GTK, but remain
> >compatible
> >with GTK signals.  This could be started by members of our group as well as the GTK--
> >people.
>
> Gtk-- contains an interface between Gtk-- and Gtk+ signals. As our system is identical to the Gtk-- one we can use this almost directly.

Yeah, what I had in my head was that we shoudn't break that.  Not that the Gtk-- people would break it.

[THIS NEXT REFERS TO A WEB BROWSER CALLED MNEMONIC in case you were not folloiwngthe thread.].

> >project) is using very  similar system for communication between seperate,  dynamically
> >loaded web   browser modules.
>
> This looks more like some CORBA application....

Well, if I was on their mailing list, and if they were still designing rather than coding I wouldbe telling them "USE CORBA".  As it is they use their own
system.   The similiarity between
messages in Mnemonic  and ours is that the sender just sends a message without caring who
gets it.   The cool thing which Mnemonic does is that the Message system detects when no
one is listen to a signal which has been emited, and tries to load a module to handle the signal.
Not that any of this has anything to do with us.

>
>
> >If there was a common, free library out there, I would
>
> It definitely is a neat idea. I love it. A bit like a mini-CORBA, having PPlay monsters interface to Gtk gauges etc.
> Neat.

Yeah, OO is cool.   None of this overlaps with what CORBA does though.

I must say I am a little surprised you like the idea, I just put it up as a throwaway "crazy idea".
But  if you like it, I suggest you talk to the Gtk-- people about it and then put a joint post
onto comp.os.linux.announce and other places, and get the project going.

We should get it off the PenguinPlay list though, since it is not really a game programming
issue.