%0 Conference Proceedings %T Dynamic Choreographies Safe Runtime Updates of Distributed Applications %+ Foundations of Component-based Ubiquitous Systems (FOCUS) %+ Department of Computer Science and Engineering [Bologna] (DISI) %A Dalla Preda, Mila %A Gabbrielli, Maurizio %A Giallorenzo, Saverio %A Lanese, Ivan %A Mauro, Jacopo %Z Part 2: Coordinating Ensembles %< avec comité de lecture %( Lecture Notes in Computer Science %B 17th International Conference on Coordination Languages and Models (COORDINATION) %C Grenoble, France %Y Tom Holvoet %Y Mirko Viroli %I Springer International Publishing %3 Coordination Models and Languages %V LNCS-9037 %P 67-82 %8 2015-06-02 %D 2015 %R 10.1007/978-3-319-19282-6_5 %K Global State, Parallel Composition, Label Transition System, Boolean Expression, Service Orient Computing %Z Computer Science [cs]/Programming Languages [cs.PL]Conference papers %X Programming distributed applications free from communication deadlocks and races is complex. Preserving these properties when applications are updated at runtime is even harder. We present DIOC, a language for programming distributed applications that are free from deadlocks and races by construction. A DIOC program describes a whole distributed application as a unique entity (choreog-raphy). DIOC allows the programmer to specify which parts of the application can be updated. At runtime, these parts may be replaced by new DIOC fragments from outside the application. DIOC programs are compiled, generating code for each site, in a lower-level language called DPOC. We formalise both DIOC and DPOC semantics as labelled transition systems and prove the correctness of the compilation as a trace equivalence result. As corollaries, DPOC applications are free from communication deadlocks and races, even in presence of runtime updates. %G English %Z TC 6 %Z WG 6.1 %2 https://inria.hal.science/hal-01227612/document %2 https://inria.hal.science/hal-01227612/file/main.pdf %L hal-01227612 %U https://inria.hal.science/hal-01227612 %~ INRIA %~ INRIA-SOPHIA %~ INRIASO %~ INRIA_TEST %~ TESTALAIN1 %~ IFIP-LNCS %~ IFIP %~ INRIA2 %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC6 %~ IFIP-WG6-1 %~ IFIP-COORDINATION %~ IFIP-DISCOTEC %~ UNIV-COTEDAZUR %~ IFIP-LNCS-9037