A Library to Modularly Control Asynchronous Executions

被引:0
|
作者
Fukuda, Hiroaki [1 ]
Leger, Paul [2 ]
机构
[1] Shibaura Inst Technol, Koto Ku, 3-7-5 Toyosu, Tokyo, Japan
[2] Univ Catolica Norte, Escuela Ciencias Empresariales, Antofagasta, Region De Antof, Chile
来源
30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II | 2015年
关键词
Virtual block; asynchronous programming; aspect-oriented programming; modularity;
D O I
10.1145/2695664.2696034
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Asynchronous programming style has been widely adopted for a variety of reasons one such being the rise of Web applications. Using non-blocking operations is a major approach to enforcing asynchronous programming. A non-blocking operation requires decomposing a module that consists of a set of blocking operations into more than two modules, in turn, leading to a variety of challenges such as callback spaghetti and callback hell. This paper presents SyncAS, a library specification to address these two problems. This library specification follows the ECMAScript standard; indeed, we provide a prototype implementation for ActionScript3. SyncAS proposes a novel approach that enables programmers to virtually block a program execution and restart it at arbitrary points of the program, instead of waiting for a callback execution. As a result, programmers do not need to decompose a module even if nonblocking operations are adopted. SyncAS uses aspect-oriented programming to control the program execution in an oblivious manner.
引用
收藏
页码:1648 / 1650
页数:3
相关论文
共 50 条