arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1610.09183cs.PL
收藏

多活动对象及其应用

Multiactive objects and their applications

Ludovic Henrio, Justine Rochas

AI总结:

本文提出并形式化了多活动对象编程模型,通过ProActive和MultiASP实现,支持活动对象内的受控并行,并展示编译方法及实际应用。

摘要:

为了应对并发和分布式系统的开发,活动对象编程模型为编程并发行为提供了高层抽象。目前已有多种面向广泛应用领域的活动对象框架:建模、验证、高效执行。然而,在这些框架中,很少有考虑活动对象的多线程执行。在活动对象内部引入受控并行性能够克服其一些局限性。在本文中,我们提出了一个围绕多活动对象编程模型的完整框架。我们通过ProActive(提供多活动对象的Java库)和MultiASP(允许我们开发形式化的编程语言)来展示该框架。然后,我们展示了如何将具有协作式多线程的活动对象语言编译为多活动对象。本文还介绍了不同的用例和开发支持,以说明我们语言的实际可用性。我们工作的形式化为程序员提供了关于多活动对象编程模型和编译器行为的保证。

英文摘要:

In order to tackle the development of concurrent and distributed systems, the active object programming model provides a high-level abstraction to program concurrent behaviours. There exists already a variety of active object frameworks targeted at a large range of application domains: modelling, verification, efficient execution. However, among these frameworks, very few consider a multi-threaded execution of active objects. Introducing controlled parallelism within active objects enables overcoming some of their limitations. In this paper, we present a complete framework around the multi-active object programming model. We present it through ProActive, the Java library that offers multi-active objects, and through MultiASP, the programming language that allows the formalisation of our developments. We then show how to compile an active object language with cooperative multi-threading into multi-active objects. This paper also presents different use cases and the development support to illustrate the practical usability of our language. Formalisation of our work provides the programmer with guarantees on the behaviour of the multi-active object programming model and of the compiler.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑