Share on Facebook Tweet on Twitter Share on LinkedIn Share by email
Language Support for Fast and Reliable Message-based Communication in Singularity OS

Manuel Fähndrich, Mark Aiken, Chris Hawblitzel, Orion Hodson, Galen Hunt, James R. Larus, and Steven Levi

Abstract

Message-based communication offers the potential benefits of providing stronger specification and cleaner separation between components. Compared with shared-memory interactions, message passing has the potential disadvantages of more expensive data exchange (no direct sharing) and more complicated programming. In this paper we report on the language, verification, and run-time system features that make messages practical as the sole means of communication between processes in the Singularity operating system. We show that using advanced programming language and verification techniques, it is possible to provide and enforce strong system-wide invariants that enable efficient communication and low-overhead software- based process isolation. Furthermore, specifications on communication channels help in detecting programmer mistakes early—namely at compile-time—thereby reducing the difficulty of the message-based programming model. The paper describes our communication invariants, the language and verification features that support them, as well as implementation details of the infrastructure. A number of benchmarks show the competitiveness of this approach.

Details

Publication typeInproceedings
Published inProceedings of the EuroSys 2006 Conference
Pages177–190
PublisherAssociation for Computing Machinery, Inc.
> Publications > Language Support for Fast and Reliable Message-based Communication in Singularity OS