PowerBI Data Analyst - Create visualizations and dashboards from scratch
Google, IBM & Microsoft Certificates — All in One Plan
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore pattern matching in Java through this 54-minute conference talk. Dive into the challenges and proposed solutions for implementing pattern matching, including performance considerations and implementation principles. Learn about use-site polymorphism, compiler requirements, and the role of value types. Examine examples of evaluating and simplifying expressions, and understand the implications for binary compatibility. Gain insights into the design decisions and trade-offs involved in bringing this powerful feature to the Java language.
Syllabus
Intro
Pattern Matching
Example: Evaluating Expressions
Use-site polymorphism
What's Going On?
Language Feature, or VM Feature?
Are Patterns Methods?
A Compiler Writers Wish List
Fetch Me My Magic Hammer
Performance Goals
Intermediate Carriers
A Strawman
Invoking Dtors
Composing Dtors
Translating Pattern Switch
Binary Compatibility
Summary
Example: Simplifying Expressions
Taught by
Java