Static Type Checking for the Kompics Component Model: Kola – The Kompics Language
2016 (English)In: First Workshop on Programming Models and Languages for Distributed Computing, ACM Digital Library, 2016, 2-1 p.Conference paper (Refereed)Text
Distributed systems are becoming an increasingly important part of systems and applications software and it is widely accepted that writing correct distributed systems is challenging. Message-passing concurrency models are the dominant programming paradigm and, even in statically typed languages, programming frameworks typically only have limited type checking support for messages, channels, and ports or mailboxes. In this paper, we present Kola, a language-level implementation of Kompics, a component model with message-passing concurrency. Kola comes with its own compiler and some special language constructs which extend Java's type system as necessary to enforce static type checking on messages, channels, and ports. We show that Kola improves the readability of Kompics code and removes opportunities to introduce bugs, at the cost of little compile time overhead and no runtime overhead.
Place, publisher, year, edition, pages
ACM Digital Library, 2016. 2-1 p.
, PMLDC ’16, 1
code generation, compile-time checks, compilers, component model, distributed languages, programming language
Research subject Information and Communication Technology
IdentifiersURN: urn:nbn:se:kth:diva-189884DOI: 10.1145/2957319.2957371ISBN: 978-1-4503-4775-4OAI: oai:DiVA.org:kth-189884DiVA: diva2:949718
Programming Models and Languages for Distributed Computing
QC 201607222016-07-222016-07-222016-07-22Bibliographically approved