Process Composition with Typed Unix Pipes

Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/GutachtenBeitrag in KonferenzbandBeigetragenBegutachtung

Beitragende

  • Michael Sippel - , Technische Universität Dresden (Autor:in)
  • Horst Schirmeier - , Professur für Betriebssysteme, Technische Universität Dresden (Autor:in)

Abstract

Pipes are a standard inter-process communication mechanism in Unix-like operating systems, allowing to compose simple, single-purpose programs to solve complex problems. This powerful mechanism arguably contributed quite a lot to the success of Unix. However, the design decision to standardize unstructured, type-less byte streams as a basis for communication can be seen as disadvantageous: Incompatible programs can mistakenly be hooked together, conversions have to be added manually, and the structure of the communicated data has to be re-created by parsers and serialized again at every node in the pipeline. To overcome these disadvantages, we propose to explore the potential behind typed Unix pipes. Based on a type system with a special type constructor - the ladder type, - runtime type checks for pipes and potentially also files, program arguments and environment variables prevent the user to create invalid program graphs. This also allows to add automatic conversions that resolve type conflicts in the future. A prototypical implementation extends an existing shell with a type-check routine and demonstrates the concepts on a set of realistic use-case scenarios.

Details

OriginalspracheEnglisch
TitelPLOS 2023 - Proceedings of the 12th Workshop on Programming Languages and Operating Systems, Part of
Herausgeber (Verlag)Association for Computing Machinery, Inc
Seiten34-40
Seitenumfang7
ISBN (elektronisch)9798400704048
PublikationsstatusVeröffentlicht - 23 Okt. 2023
Peer-Review-StatusJa

Publikationsreihe

ReiheSOSP: ACM Symposium on Operating Systems Principles

Workshop

Titel12th Workshop on Programming Languages and Operating Systems
KurztitelPLOS 2023
Veranstaltungsnummer12
BeschreibungIn conjunction with the 29th ACM Symposium on Operating Systems Principles (SOSP '23)
Dauer23 Oktober 2023
Webseite
StadtKoblenz
LandDeutschland

Externe IDs

ORCID /0000-0002-1427-9343/work/167216814

Schlagworte