Explore the concept of parametric polymorphism in Java with Brian Goetz's talk from the JVM Language Summit 2016. Dive into Project Valhalla's goals, value types, and their potential impact on Java development. Learn about alternatives to traditional object-oriented approaches, including tuples and stack slots. Examine code examples demonstrating the conversion of values to objects and various attempts at implementing generics. Investigate specialized classes, nested classes, and parameterized classes, as well as method descriptors and arrays. Gain insights into generic methods, reification, species statics, and accessibility. Conclude with discussions on conditional methods, wildcards, and reflection in the context of parametric polymorphism.
Adventures in Parametric Polymorphism - Project Valhalla and Value Types