Article View: comp.sys.powerpc
Article #2547Re: Message passing speed on BeBox
From: James McCartney
Date: Mon, 20 Nov 1995 15:38
Date: Mon, 20 Nov 1995 15:38
25 lines
1692 bytes
1692 bytes
In article <umisef.51.30B0765F@halls1.cc.monash.edu.au>, umisef@halls1.cc.monash.edu.au (Bernd MEYER - Bernie) wrote: > In article <ACD5092596684DB87@jake-6f.ip.realtime.net> hplus@bga.com (Jon Watte) writes: > >This is not the kind of messaging Be times. Messages are addressed packets > >of structured data. You create a message, you add typed, named, parameters > >(data) to it, you send the message to one of many receivers, the receipient > >receives and decodes the message. > > Well, that isn't all that different from sending stuff into a pipe Yes it is. > I might try sending a sructure through that pipe, instead of having > the printf and scanf functions there. It should speed things up > tremendously. Be messages are not just structures, they are associative dictionaries which you can query for information of a certain type. If you just send a C struct through a pipe you have to know what it is you are receiving. A BMessage can be asked what it contains. Data is tagged by keyword and type. --- james mccartney james@astro.as.utexas.edu
Technical Details
Message-ID:
<james-2011950941130001@slip-21-7.ots.utexas.edu>Path:
arc1-ca.pugleaf.net!slip-21-7.ots.utexas.edu!userReferences:
<jazzDI1u41.16H@netcom.com> <umisef.40.30AE344D@halls1.cc.monash.edu.au> <ACD5092596684DB87@jake-6f.ip.realtime.net> <umisef.51.30B0765F@halls1.cc.monash.edu.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!slip-21-7.ots.utexas.edu!user From: james@astro.as.utexas.edu (James McCartney) Newsgroups: comp.sys.powerpc,comp.sys.amiga.advocacy Subject: Re: Message passing speed on BeBox Date: 20 Nov 1995 15:38:25 GMT Organization: The University of Texas at Austin Message-ID: <james-2011950941130001@slip-21-7.ots.utexas.edu> References: <jazzDI1u41.16H@netcom.com> <umisef.40.30AE344D@halls1.cc.monash.edu.au> <ACD5092596684DB87@jake-6f.ip.realtime.net> <umisef.51.30B0765F@halls1.cc.monash.edu.au> NNTP-Posting-Host: slip-21-7.ots.utexas.edu X-Newsreader: Yet Another NewsWatcher 2.0b28