Machine-translated by Google. Questions are authored in English.
Top

Discussion

Comparing message passing with shared memory for a design with several developers, message passing

  • A.is faster for every size of payload
  • B.makes the interface between subsystems explicit
  • C.always uses less memory than shared data would
  • D.removes the need for any timing analysis

Answer: B

Correct answer: makes the interface between subsystems explicit

A message defines what passes between two subsystems and when, so the interface can be documented, reviewed and tested, and the two can be developed separately. Shared memory leaves the interface implicit in whatever both parties happen to touch, which is exactly what goes wrong when several people work on one system.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.