首页    期刊浏览 2024年07月09日 星期二
登录注册

文章基本信息

  • 标题:Data optimizations for constraint automata
  • 本地全文:下载
  • 作者:Sung-Shik Jongmans ; Farhad Arbab
  • 期刊名称:Logical Methods in Computer Science
  • 印刷版ISSN:1860-5974
  • 电子版ISSN:1860-5974
  • 出版年度:2016
  • 卷号:12
  • 期号:3
  • 页码:1
  • DOI:10.2168/LMCS-12(3:11)2016
  • 出版社:Technical University of Braunschweig
  • 摘要:Constraint automata (CA) constitute a coordination model based on finite automata on infinite words. Originally introduced for modeling of coordinators, an interesting new application of CAs is implementing coordinators (i.e., compiling CAs into 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 materialize depends on the smartness of CA-compilers and the existence of proofs of their correctness. Every transition in a CA is labeled by a "data constraint" that specifies an atomic data-flow between coordinated processes as a first-order formula. At run-time, compiler-generated code must handle data constraints as efficiently as possible. In this paper, we present, and prove the correctness of two optimization techniques for CA-compilers related to handling of data constraints: a reduction to eliminate redundant variables and a translation from (declarative) data constraints to (imperative) data commands expressed in a small sequential language. Through experiments, we show that these optimization techniques can have a positive impact on performance of generated executable code.
  • 其他关键词:protocols, constraint automata, Reo, compilation, optimization, performance.
国家哲学社会科学文献中心版权所有