一句话:提出统一语义框架解释渐进类型中三种类型健全性方法,并系统比较其性能。
渐进类型的文献对混合静态与动态类型代码的程序健全性提出了三种根本不同的处理方式。本文提出一个统一的语义框架,将这三类方法纳入同一形式化体系,并解释它们各自的语义差异。论文进一步说明每种方法如何影响开发者的实际编程工作,例如错误检测时机与责任归属。最后,作者在一个实现平台上对三种方法进行系统性的性能比较,揭示健全性策略与运行时开销之间的权衡关系。
The literature on gradual typing presents three fundamentally different ways of thinking about the integrity of programs that combine statically typed and dynamically typed code. This paper presents a uniform semantic framework that explains all three approaches, illustrates how each approach affects a developer's work, and adds a systematic performance comparison for a single implementation platform.