YoVDO

Valhalla Reflection: Challenges and Solutions for Java Generics

Offered By: Java via YouTube

Tags

Java Courses JVM Language Summit Courses Generics Courses Type Annotations Courses Project Valhalla Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of Project Valhalla's impact on Java reflection in this 37-minute conference talk by Maurizio Cimadamore at the JVM Language Summit 2016. Dive into the structural and operational layers of reflection, examining challenges posed by generics and type annotations. Discover the proposed solutions for Valhalla reflection, including specialized generics and the concept of "one mirror to rule them all." Learn about the potential changes to java.lang.Class, source reflection, and the java.lang.model package. Analyze member lookup examples, generic method lookup, and the proposed mirror taxonomy. Gain insights into specialization support and open issues surrounding Project Valhalla's reflection implementation.

Syllabus

Intro
Structural layer
Operational layer
Reflection and VM languages
Hello reflection
Generics & reflection - a (bad) straw hut
The hut is shaky
Type annotations - a straw too far?
The hut collapses
Valhalla specialized generics - desugared
Valhalla - some reflection challenges
Three goals for Valhalla reflection
Double down on .I. Class
What about source reflection?
double down on j.l.model
Solution #2
one mirror to rule 'em all Having separate abstractions for declarations and types is cleaner
Mirror taxonomy
Specialization support
Member lookup - example
Generic method lookup
Solution 3
Open issues


Taught by

Java

Related Courses

Java's Future: Innovations and Enhancements - Interview with Brian Goetz
ChariotSolutions via YouTube
Java Features and Future Developments - Early 2019 Edition
ChariotSolutions via YouTube
Java Next - From Amber to Loom, from Panama to Valhalla
Devoxx via YouTube
Go Go Java Developer
Devoxx via YouTube
Welcome to LWorld - The Current State of Value Types in Java
Devoxx via YouTube