Mechanism for distributed programming?

A

Aleksej

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!
 
P

Phlip

Aleksej said:
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.
 
N

Noah Roberts

Aleksej said:
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.
 
V

Victor Bazarov

Aleksej said:
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
 
L

Lynn McGuire

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top