Skip to Main content Skip to Navigation
Conference papers

Take Command of Your Constraints!

Abstract : Constraint automata (CA) are a coordination model based on finite automata on infinite words. Although originally introduced for compositional modeling of coordinators, an interesting new application of CA is actually implementing coordinators (i.e., compiling CA to executable code). Such an approach guarantees correctness-by-construction and can even yield code that outperforms hand-crafted code. The extent to which these two potential advantages arise depends on the smartness of CA-compilers and the existence of proofs of their correctness.We present and prove the correctness of a critical optimization for CA-compilers: a sound and complete translation from declarative constraints in transition labels to imperative commands in a sequential language. This optimization avoids expensive calls to a constraint solver at run-time, otherwise performed each time a transition fires, and thereby significantly improves the performance of generated coordination code.
Complete list of metadata

Cited literature [29 references]  Display  Hide  Download
Contributor : Hal Ifip <>
Submitted on : Tuesday, April 24, 2018 - 10:53:52 AM
Last modification on : Tuesday, April 24, 2018 - 11:20:06 AM
Long-term archiving on: : Wednesday, September 19, 2018 - 6:14:43 AM


Files produced by the author(s)


Distributed under a Creative Commons Attribution 4.0 International License



Sung-Shik Jongmans, Farhad Arbab. Take Command of Your Constraints!. 17th International Conference on Coordination Languages and Models (COORDINATION), Jun 2015, Grenoble, France. pp.117-132, ⟨10.1007/978-3-319-19282-6_8⟩. ⟨hal-01774935⟩



Record views


Files downloads