Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Mechanism for distributed programming?

Reply
Thread Tools

Mechanism for distributed programming?

 
 
Aleksej
Guest
Posts: n/a
 
      09-07-2006
Hello!

What mechanisms are usually used in C++ when the project consists of several
processes located at different network nodes? I mean the mechanisms that
make it easier to program all the messaging between processes/classes.
Example: one class calls the function from another class that is located on
another computer.

Thank you for any keywords!


 
Reply With Quote
 
 
 
 
Phlip
Guest
Posts: n/a
 
      09-07-2006
Aleksej wrote:

> What mechanisms are usually used in C++ when the project consists of
> several processes located at different network nodes? I mean the
> mechanisms that make it easier to program all the messaging between
> processes/classes.
> Example: one class calls the function from another class that is located
> on another computer.


You are asking for an ORB, such as ActiveX (DCOM) or CORBA.

I would also use a light language like Ruby as a soft layer, and then
message between servers using Distributed Ruby. Because Ruby, like DCOM or
CORBA, is a system to portably specify objects, Ruby (or a similar soft
language) could be your ORB.

There's very little difference between this...

C++ object -> Ruby object -> DRuby -> Ruby method -> C++ method

....and this:

C++ object -> IDL object -> ORB -> IDL method -> C++ method.

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!


 
Reply With Quote
 
 
 
 
Noah Roberts
Guest
Posts: n/a
 
      09-07-2006

Aleksej wrote:
> Hello!
>
> What mechanisms are usually used in C++ when the project consists of several
> processes located at different network nodes?


Usually some form of network communication takes place.

I mean the mechanisms that
> make it easier to program all the messaging between processes/classes.


Too numerous. There is no "usual" way. You might use corba, soap, or
something else.

> Example: one class calls the function from another class that is located on
> another computer.
>
> Thank you for any keywords!


 
Reply With Quote
 
Victor Bazarov
Guest
Posts: n/a
 
      09-07-2006
Aleksej wrote:
> What mechanisms are usually used in C++ when the project consists of
> several processes located at different network nodes?


None. C++ doesn't have any mechanisms for interprocess communication.
You need to ask in the newsgroup for your OS.

> [..]


V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


 
Reply With Quote
 
Lynn McGuire
Guest
Posts: n/a
 
      09-07-2006
> What mechanisms are usually used in C++ when the project consists of several processes located at different network nodes? I mean
> the mechanisms that make it easier to program all the messaging between processes/classes.
> Example: one class calls the function from another class that is located on another computer.


Look for MPI such as http://www-unix.mcs.anl.gov/mpi/

Lynn


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox's lock mechanism (linux) Alexander Schmolck Firefox 0 02-08-2005 03:28 PM
include mechanism for access lists? jimmy@temp01.nccom.com Cisco 2 12-07-2004 11:42 AM
Does .NET provide any mechanism to replace ActiveX controls on web??? Muhammad Shuaib Anjum ASP .Net 2 08-13-2004 05:23 AM
IPC Mechanism Named pipes or Windows messages or sthg else ? piyush ASP .Net 0 07-14-2004 02:41 PM
Re: IOS exploit: please disclose vehicle, not mechanism jankemi(remove) Cisco 16 07-25-2003 05:16 PM



Advertisments