- 2070 Chaitra · 3 marks
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.
| Point | CORBA | Mach |
|---|---|---|
| Nature | Middleware specification (OMG) for distributed objects | Microkernel operating system |
| Level | Above the OS, application level | Operating system level (kernel) |
| Communication | Object requests through the ORB, GIOP/IIOP | Messages through ports (IPC) |
| Interface | IDL (language independent) | Message interface (MIG, Mach Interface Generator) |
| Heterogeneity | Different languages, platforms, vendors | A single OS, though portable across hardware architectures |
| Services | Naming, Event, Transaction, Security etc. | Tasks, threads, virtual memory, IPC only |
| Naming/addressing | Object references | Ports and port rights |
| Aim | Interoperability of distributed objects | Efficient, 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)