Automatic Distributed Code Generation from Formal Models of Asynchronous Concurrent Processes - Archive ouverte HAL Access content directly
Conference Papers Year : 2015

Automatic Distributed Code Generation from Formal Models of Asynchronous Concurrent Processes

(1) , (1)
1
Hugues Evrard
  • Function : Author
  • PersonId : 961729
Frédéric Lang

Abstract

Formal process languages inheriting the concurrency and communication features of process algebras are convenient formalisms to model distributed applications, especially when they are equipped with formal verification tools (e.g., model-checkers) to help hunting for bugs early in the development process. However, even starting from a fully verified formal model, bugs are likely to be introduced while translating (generally by hand) the concurrent model —which relies on high-level and expressive communication primitives— into the distributed implementation —which often relies on low-level communication primitives. In this paper, we present DLC, a compiler that enables distributed code to be generated from models written in a formal process language called LNT, which is equipped with a rich verification toolbox named CADP. The generated code can be either executed in an autonomous way (i.e., without requiring additional code to be defined by the user), or connected to external software through user-modifiable C functions. We present an experiment where DLC generates a distributed implementation from the LNT model of the Raft consensus algorithm.
Fichier principal
Vignette du fichier
EvrardLang14.pdf (155.81 Ko) Télécharger le fichier
Vignette du fichier
Evrard-PDP-15.pdf (763.96 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01086522 , version 1 (05-06-2015)

Licence

Attribution - NonCommercial - CC BY 4.0

Identifiers

  • HAL Id : hal-01086522 , version 1

Cite

Hugues Evrard, Frédéric Lang. Automatic Distributed Code Generation from Formal Models of Asynchronous Concurrent Processes. 23rd Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP 2015), Mar 2015, Turku, Finland. ⟨hal-01086522⟩
5546 View
1150 Download

Share

Gmail Facebook Twitter LinkedIn More