pith. sign in

arxiv: 1605.05274 · v2 · pith:PI2IQ4UJnew · submitted 2016-05-17 · 💻 cs.PL

Java Generics are Turing Complete

classification 💻 cs.PL
keywords javacheckingfollowssubtypeturinganswerscheckercomplete
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.