Skip to main content

Comparison of CORBA and Mach

Short answer

CORBA is application-level middleware enabling distributed objects across different languages and platforms via ORB and IDL. Mach is a microkernel OS providing inter-process communication through message passing with ports and tasks. Both offer location transparency through message passing.

Write a short note on comparison of CORBA and Mach.

PointCORBAMach
NatureMiddleware specification (OMG) for distributed objectsMicrokernel operating system
LevelAbove the OS, application levelOperating system level (kernel)
CommunicationObject requests through the ORB, GIOP/IIOPMessages through ports (IPC)
InterfaceIDL (language independent)Message interface (MIG, Mach Interface Generator)
HeterogeneityDifferent languages, platforms, vendorsA single OS, though portable across hardware architectures
ServicesNaming, Event, Transaction, Security etc.Tasks, threads, virtual memory, IPC only
Naming/addressingObject referencesPorts and port rights
AimInteroperability of distributed objectsEfficient, flexible kernel for parallel/distributed systems

Both use message passing for distributed communication and provide location transparency, but CORBA is middleware for invoking objects across heterogeneous systems, while Mach is the kernel that runs on each node of a system.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Distributed System chapter 10 questions →