Process Composition with Typed Unix Pipes
Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/Gutachten › Beitrag in Konferenzband › Beigetragen › Begutachtung
Beitragende
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
Originalsprache | Englisch |
---|---|
Titel | PLOS 2023 - Proceedings of the 12th Workshop on Programming Languages and Operating Systems, Part of |
Herausgeber (Verlag) | Association for Computing Machinery, Inc |
Seiten | 34-40 |
Seitenumfang | 7 |
ISBN (elektronisch) | 9798400704048 |
Publikationsstatus | Veröffentlicht - 23 Okt. 2023 |
Peer-Review-Status | Ja |
Publikationsreihe
Reihe | SOSP: ACM Symposium on Operating Systems Principles |
---|
Workshop
Titel | 12th Workshop on Programming Languages and Operating Systems |
---|---|
Kurztitel | PLOS 2023 |
Veranstaltungsnummer | 12 |
Beschreibung | In conjunction with the 29th ACM Symposium on Operating Systems Principles (SOSP '23) |
Dauer | 23 Oktober 2023 |
Webseite | |
Stadt | Koblenz |
Land | Deutschland |
Externe IDs
ORCID | /0000-0002-1427-9343/work/167216814 |
---|