A linear type system for multicore programming in ATS

作者:Shi Rui; Xi Hongwei*
来源:Science of Computer Programming, 2013, 78(8): 1176-1192.
DOI:10.1016/j.scico.2012.09.005

摘要

In this day and age of multicore architectures, programming language support is in urgent need for constructing programs that can take great advantage of machines with multiple cores. We present in this paper an approach to safe multicore programming in ATS, a recently developed functional programming language that supports both linear and dependent types. In particular, we formalize a type system capable of guaranteeing safe manipulation of resources on multicore machines and establish its soundness. We also provide concrete examples as well as experimental results in support of the practicality of the presented approach to multicore programming.

  • 出版日期2013-8-1

全文