196 results found
Bocchi L, Chen T-C, Demangeon R, et al., 2017, Monitoring networks through multiparty session types, THEORETICAL COMPUTER SCIENCE, Vol: 669, Pages: 33-58, ISSN: 0304-3975
Clebsch S, Franco J, Drossopoulou S, et al., 2017, Orca: GC and type system co-design for actor languages, Pages: 1-28
Franco J, Hagelin M, Wrigstad T, et al., 2017, You can have it all: Abstraction and good cache performance, Pages: 148-167
© 2017 Copyright held by the owner/author(s). On current architectures, the optimisation of an application's performance often involves data being stored according to access affinity - what is accessed together should be stored together, rather than logical affinity - what belongs together logically stays together. Such low level techniques lead to faster, but more error prone code, and end up tangling the program's logic with low-level data layout details. Our vision, which we call SHAPES - Safe, High-level, Abstractions for oPtimisation of mEmory cacheS - is that the layout of a data structure should be defined only once, upon instantiation, and the remainder of the code should be layout agnostic. This enables performance improvements while also guaranteeing memory safety, and supports the separation of program logic from low level concerns. In this paper we investigate how this vision can be supported by extending a programming language. We describe the core language features supporting this vision: classes can be customized to support different layouts, and layout information is carried around in types; the remaining source code is layout-unaware and the compiler emits layout-aware code. We then discuss our SHAPES implementation through a prototype library, which we also used for preliminary evaluations. Finally, we discuss how the core could be expanded so as to deliver SHAPES's full potential: the incorporation of compacting garbage collection, ad hoc polymorphism and late binding, synchronization of representations of different collections, support for dynamic change of representation, etc.
Graversen E, Phillips I, Yoshida N, 2017, Towards a Categorical Representation of Reversible Event Structures, Publisher: OPEN PUBL ASSOC, Pages: 49-60, ISSN: 2075-2180
Hu R, Yoshida N, 2017, Explicit connection actions in multiparty session types, Pages: 116-133, ISSN: 0302-9743
© Springer-Verlag GmbH Germany 2017. This work extends asynchronous multiparty session types (MPST) with explicit connection actions to support protocols with optional and dynamic participants. The actions by which endpoints are connected and disconnected are a key element of real-world protocols that is not treated in existing MPST works. In addition, the use cases motivating explicit connections often require a more relaxed form of multiparty choice: these extensions do not satisfy the conservative restrictions used to ensure safety in standard syntactic MPST. Instead, we develop a modelling-based approach to validate MPST safety and progress for these enriched protocols. We present a toolchain implementation, for distributed programming based on our extended MPST in Java, and a core formalism, demonstrating the soundness of our approach. We discuss key implementation issues related to the proposed extensions: a practical treatment of choice subtyping for MPST progress, and multiparty correlation of dynamic binary connections.
Imai K, Yoshida N, Yuen S, 2017, Session-ocaml: A session-based library with polarities and lenses, Pages: 99-118, ISSN: 0302-9743
© IFIP International Federation for Information Processing 2017. We propose session-ocaml, a novel library for session-typed concurrent/distributed programming in OCaml. Our technique solely relies on parametric polymorphism, which can encode core session type structures with strong static guarantees. Our key ideas are: (1) polarised session types, which give an alternative formulation of duality enabling OCaml to automatically infer an appropriate session type in a session with a reasonable notational overhead; and (2) a parameterised monad with a data structure called ‘slots’ manipulated with lenses, which can statically enforce session linearity and delegations. We show applications of session-ocaml including a travel agency usecase and an SMTP protocol.
Kouzapas D, Perez JA, Yoshida N, 2017, Characteristic bisimulation for higher-order session processes, ACTA INFORMATICA, Vol: 54, Pages: 271-341, ISSN: 0001-5903
Lange J, Ng N, Toninho B, et al., 2017, Fencing off Go: Liveness and Safety for Channel-Based Programming, 44th ACM SIGPLAN Symposium on Principles of Programming Languages (POPL), Publisher: ASSOC COMPUTING MACHINERY, Pages: 748-761, ISSN: 0362-1340
Lange J, Tuosto E, Yoshida N, 2017, A Tool for Choreography-Based Analysis of Message-Passing Software, Behavioural Types: from Theory to Tools
Lange J, Yoshida N, 2017, On the Undecidability of Asynchronous Session Subtyping, 20th International Conference on Foundations of Software Science and Computation Structures (FOSSACS) held as Part of the European Joint Conferences on Theory and Practice of Software (ETAPS), Publisher: SPRINGER INTERNATIONAL PUBLISHING AG, Pages: 441-457, ISSN: 0302-9743
Neykova R, Bocchi L, Yoshida N, 2017, Timed runtime monitoring for multiparty conversations, FORMAL ASPECTS OF COMPUTING, Vol: 29, Pages: 877-910, ISSN: 0934-5043
Neykova R, Yoshida N, 2017, Let it recover: Multiparty protocol-induced recovery, Pages: 98-108
© 2017 ACM. Fault-tolerant communication systems rely on recovery strategies which are often error-prone (e.g. a programmer manually specifies recovery strategies) or inefficient (e.g. the whole system is restarted from the beginning). This paper proposes a static analysis based on multiparty session types that can efficiently compute a safe global state from which a system of interacting processes should be recovered. We statically analyse the communication flow of a program, given as a multiparty protocol, to extract the causal dependencies between processes and to localise failures. We formalise our recovery algorithm and prove its safety. A recovered communication system is free from deadlocks, orphan messages and reception errors. Our recovery algorithm incurs less communication cost (only affected processes are notified) and overall execution time (only required states are repeated). On top of our analysis, we design and implement a runtime framework in Erlang where failed processes and their dependencies are soundly restarted from a computed safe state. We evaluate our recovery framework on messagepassing benchmarks and a use case for crawling webpages. The experimental results indicate our framework outperforms a built-in static recovery strategy in Erlang when a part of the protocol can be safely recovered.
Neykova R, Yoshida N, 2017, MULTIPARTY SESSION ACTORS, LOGICAL METHODS IN COMPUTER SCIENCE, Vol: 13, ISSN: 1860-5974
Ng CWN, Yoshida N, 2017, Protocol-Driven MPI Program Generation, Behavioural Types: from Theory to Tools
Orchard D, Yoshida N, 2017, Special Issue: PLACES 2016 foreword, JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, Vol: 90, Pages: 1-1, ISSN: 2352-2208
Orchard D, Yoshida N, 2017, Session Types with Linearity in Haskell, Behavioural Types: from Theory to Tools
Scalas A, Dardha O, Hu R, et al., 2017, A linear decomposition of multiparty sessions for safe distributed programming, Pages: 241-2431, ISSN: 1868-8969
Multiparty Session Types (MPST) is a typing discipline for message-passing distributed processes that can ensure properties such as absence of communication errors and deadlocks, and protocol conformance. Can MPST provide a theoretical foundation for concurrent and distributed programming in "mainstream" languages? We address this problem by (1) developing the first encoding of a full-fledged multiparty session π-calculus into linear π-calculus, and(2) using the encoding as the foundation of a practical toolchain for safe multiparty programming in Scala. Our encoding is type-preserving and operationally sound and complete. Crucially, it keeps the distributed choreographic nature of MPST, illuminating that the safety properties of multiparty sessions can be precisely represented with a decomposition into binary linear channels. Previous works have only studied the relation between (limited) multiparty and binary sessions via centralised orchestration means. We exploit these results to implement an automated generation of Scala APIs for multiparty sessions, abstracting existing libraries for binary communication channels. This allows multiparty systems to be safely implemented over binary message transports, as commonly found in practice. Our implementation is the first to support distributed multiparty delegation: Our encoding yields it for free, via existing mechanisms for binary delegation.
Scalas A, Yoshida N, 2017, Multiparty Session Types, Beyond Duality (Abstract), Publisher: OPEN PUBL ASSOC, Pages: 37-38, ISSN: 2075-2180
Toninho B, Yoshida N, 2017, Certifying data in multiparty session types, JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, Vol: 90, Pages: 61-83, ISSN: 2352-2208
Vasconcelos VT, Martins F, Marques ERB, et al., 2017, Deductive Verification of MPI Protocols, Behavioural Types: from Theory to Tools
Yoshida N, Neykova R, 2017, How to Verify Your Python Conversations, Behavioural Types: from Theory to Tools, Editors: Gay, Ravara
Debois S, Hildebrandt T, Slaats T, et al., 2016, TYPE-CHECKING LIVENESS FOR COLLABORATIVE PROCESSES WITH BOUNDED AND UNBOUNDED RECURSION, LOGICAL METHODS IN COMPUTER SCIENCE, Vol: 12, ISSN: 1860-5974
Debois S, Hildebrandt T, Slaats T, et al., 2016, Type-checking liveness for collaborative processes with bounded and unbounded recursion, Logical Methods in Computer Science, Vol: 12
© S. Debois, T. Hildebrandt, T. Slaats, and N. Yoshida. We present the first session typing system guaranteeing request-response liveness properties for possibly non-terminating communicating processes. The types augment the branch and select types of the standard binary session types with a set of required responses, indicating that whenever a particular label is selected, a set of other labels, its responses, must eventually also be selected. We prove that these extended types are strictly more expressive than standard session types. We provide a type system for a process calculus similar to a subset of collaborative BPMN processes with internal (databased) and external (event-based) branching, message passing, bounded and unbounded looping. We prove that this type system is sound, i.e., it guarantees request-response liveness for dead-lock free processes. We exemplify the use of the calculus and type system on a concrete example of an infinite state system.
Dezani-Ciancaglini M, Ghilezan S, Jakšić S, et al., 2016, Denotational and operational preciseness of subtyping: A roadmap, Pages: 155-172, ISBN: 9783319307336
© Springer International Publishing Switzerland 2016. The notion of subtyping has gained an important role both in theoretical and applicative domains: in lambda and concurrent calculi as well as in object-oriented programming languages. The soundness and the completeness, together referred to as the preciseness of subtyping, can be considered from two different points of view: denotational and operational. The former preciseness is based on the denotation of a type, which is a mathematical object describing the meaning of the type in accordance with the denotations of other expressions from the language. The latter preciseness has been recently developed with respect to type safety, i.e. the safe replacement of a term of a smaller type when a term of a bigger type is expected. The present paper shows that standard proofs of operational preciseness imply denotational preciseness and gives an overview on this subject.
Dezani-Ciancaglini M, Ghilezan S, Jaksic S, et al., 2016, Precise subtyping for synchronous multiparty sessions, ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, Pages: 29-43, ISSN: 2075-2180
Honda K, Yoshida N, Carbone M, 2016, Multiparty Asynchronous Session Types, JOURNAL OF THE ACM, Vol: 63, ISSN: 0004-5411
Hu R, Yoshida N, 2016, Hybrid Session Verification Through Endpoint API Generation, 19th International Conference on Fundamental Approaches to Software Engineering (FASE) held as part of Annual European Joint Conferences on Theory and Practice of Software (ETAPS), Publisher: SPRINGER-VERLAG BERLIN, Pages: 401-418, ISSN: 0302-9743
This data is extracted from the Web of Science and reproduced under a licence from Thomson Reuters. You may not copy or re-distribute this data in whole or in part without the written consent of the Science business of Thomson Reuters.