How Value Objects will make it possible to write readable object oriented code with the performances of primitive based code. Get a first glimpse at what Valhalla plans to deliver in the future by following this tutorial based on the early-access build of Valhalla that you can download here : jdk.java.net/valhalla/.
⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
0:00 Intro
0:33 Introducing the Valhalla project
1:51 JEPs already delivered by Valhalla
2:45 Performance price of Object Oriented abstractions
6:26 Using value objects and primitive objects to improve performances
8:24 Introducing Value based classes and Primitive classes
9:12 Getting of identity to create value objects
12:41 Using values instead of references
13:59 Constraints on writing value based classes
14:53 Valued based types: classes, abstract classes, and interfaces
16:08 The special case of the Object class
18:27 JVM optimizations
18:52 Final words and outro
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ Project Valhalla ➱ openjdk.org/projects/valhalla/
◦ Project Valhalla mailing list ➱ mail.openjdk.org/mailman/list...
◦ Project Valhalla Early Access build ➱ jdk.java.net/valhalla/
◦ Project Valhalla Early Access build notes ➱ openjdk.org/projects/valhalla...
◦ Value Objects (Preview) ➱ openjdk.org/jeps/8277163
◦ Primitive Classes (Preview) ➱ openjdk.org/jeps/401
◦ Classes for the Basic Primitives (Preview) ➱ openjdk.org/jeps/402
◦ Universal Generics (Preview) ➱ openjdk.org/jeps/8261529
◦ Nest-Based Access Control ➱ openjdk.org/jeps/181
◦ Dynamic Class-File Constants ➱ openjdk.org/jeps/309
◦ JVM Constants API ➱ openjdk.org/jeps/334
◦ Hidden Classes ➱ openjdk.org/jeps/371
◦ Warnings for Value-Based Classes ➱ openjdk.org/jeps/390
◦ Records ➱ openjdk.org/jeps/395
◦ JEP Café on Records ➱ • Records Patterns, Perf...
◦ Dev.java ➱ dev.java
◦ Inside.java ➱ inside.java
◦ JDK 19 ➱ openjdk.org/projects/jdk/19
◦ JDK 20 ➱ openjdk.org/projects/jdk/20
◦ OpenJDK ➱ openjdk.org
◦ Oracle Java ➱ www.oracle.com/java/
Tags: #Java #Java17 #Java20 #OpenJDK #JDK #JDK17 #Records #ValueTypes #ValueObjects #Valhalla #JEPCafe #insidejava
28 июл 2024