计算机科学 > 程序设计语言
[提交于 2016年5月17日]
标题:Java Generics are Turing Complete
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper describes a reduction from the halting problem of Turing machines to subtype checking in Java. It follows that subtype checking in Java is undecidable, which answers a question posed by Kennedy and Pierce in 2007. It also follows that Java's type checker can recognize any recursive language, which improves a result of Gil and Levy from 2016. The latter point is illustrated by a parser generator for fluent interfaces.
提交历史
来自:Radu Grigore[v1] 2016年5月17日 星期二 18:13:37 UTC