以优先级形式进行异步编程
Asynchronous Programming in a Prioritized Form
摘要:
异步编程已经作为一种编程风格出现,它克服了并发编程的不希望的属性。通常在异步编程模型中,方法被发送到一个发送列表中以供以后执行。方法执行的顺序是串行的,但不确定。本文提出了一个新的和简单的,但功能强大,异步编程模型。该模型由上下文无关文法和操作语义两部分组成。该模型是由表达重要应用的能力支持的。与相关工作相比,我们的模型的一个优点是,该模型简化了为发布的方法分配优先级的方式。另一个优点是,操作语义使用简单的单链表概念来模拟方法发布和执行的优先化过程。简单性和表达性使得分析算法相对容易地揭示异步程序中未捕获的编程错误。
英文摘要:
Asynchronous programming has appeared as a programming style that overcomes undesired properties of concurrent programming. Typically in asynchronous models of programming, methods are posted into a post list for latter execution. The order of method executions is serial, but nondeterministic. This paper presents a new and simple, yet powerful, model for asynchronous programming. The proposed model consists of two components; a context-free grammar and an operational semantics. The model is supported by the ability to express important applications. An advantage of our model over related work is that the model simplifies the way posted methods are assigned priorities. Another advantage is that the operational semantics uses the simple concept of singly linked list to simulate the prioritized process of methods posting and execution. The simplicity and expressiveness make it relatively easy for analysis algorithms to disclose the otherwise un-captured programming bugs in asynchronous programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。