A DSL for compensable and interruptible executions
A DSL for compensable and interruptible executions
复制标题
用于可补偿和可中断执行的 DSL
DOI:
10.1145/3141858.3141860
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Igarashi Atsushi
中科院分区:
文献类型:
--
作者:
Inoue Hiroaki;Aotani Tomoyuki;Igarashi Atsushi
Context-awareness is getting more and more important in software applications. Such an application runs depending on the time-varying status of the surrounding environment such as network connection, battery/energy charge and heat. Interruptions, or asynchronous exceptions, are useful to achieve context-awareness: if the environment changes, the execution of the application is interrupted reactively to stop and/or recover the internal state for adapting to the new environment. It is, however, difficult to program with interruptions modularly in most programming languages because their support is too basic and is based on synchronous exception handling mechanism such as try-catch.We propose a domain-specific languageContextWorkflowfor modular interruptible programs as a solution to the problem. An interruptible program is basically a workflow, i.e., a sequence of atomic computations with compensations. The uniqueness of ContextWorkflow is that, during its execution, a workflow watches the context, which is represented as a reactive value in functional reactive programming and instructs how the execution reflects the status of the surrounding environment.
DOI:
10.1145/2429069.2429100
发表时间:
2013-01
期刊:
--
影响因子:
--
作者:
Ganesan Ramalingam;K. Vaswani
通讯作者:
Ganesan Ramalingam;K. Vaswani
DOI:
--
发表时间:
2015
期刊:
2015 IEEE/ACM 37th IEEE International Conference on Software Engineering
影响因子:
--
作者:
H. Zhu;Chaoren Lin;Yu David Liu
通讯作者:
Yu David Liu
DOI:
10.1145/1352678.1352688
发表时间:
2007
期刊:
Companion Proceedings of the 15th International Conference on Modularity
影响因子:
--
作者:
M. V. Löwis;M. Denker;Oscar Nierstrasz
通讯作者:
Oscar Nierstrasz