Java Generics Are Turing Complete

POPL(2017)

引用 68|浏览57
暂无评分
摘要
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.
更多
查看译文
关键词
Java,subtype checking,decidability,fluent interface,parser generator,Turing machine
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要