Getting F-Bounded Polymorphism into Shape
You need Flash to view this presentation. However, if you are using an iPhone or the like, you can watch this presentation here (it takes a few seconds to buffer).

Created using PowerPoint 2010.
Converted using Avidemux.
Embedded using JW Player 5.6.

Getting F-Bounded Polymorphism into Shape

PLDI 2014: [pdf] [bibtex] [pptx] [mp4]

Technical Report: [pdf] [bibtex]

Authors: Ben Greenman, Fabian Muehlboeck, and Ross Tate

Abstract

We present a way to restrict recursive inheritance without sacrificing the benefits of F-bounded polymorphism. In particular, we distinguish two new concepts, materials and shapes, and demonstrate through a survey of 13.5 million lines of open-source generic-Java code that these two concepts never actually overlap in practice. With this Material-Shape Separation, we prove that even naïve type-checking algorithms are sound and complete, some of which address problems that were unsolvable even under the existing proposals for restricting inheritance. We illustrate how the simplicity of our design reflects the design intuitions employed by programmers and potentially enables new features coming into demand for upcoming programming languages.

Questions, Comments, and Suggestions

If you have any questions, comments, or suggestions, please e-mail me. I would be glad to know of any opinions people have or any clarifications I should make.