Pattern Matching with Brian Goetz

  Рет қаралды 15,381

Java

Java

Күн бұрын

This talk highlights the pain points that need to be solved in order to implement the pattern matching in Java and proposes ways to solve those different issues. I've already an implementation that works and I hope to be able to demonstrate the use of value types under the hood for performance without leaking them to the user code. In term of performance, one of the goals is to guarantee that pattern matching on types should be as fast as a code is written using method dispatch, or at least in the same ballpark in case of megamorphic callsites. Moreover, for the matching part, the implementation use three principles in hope to get good performance: there is no side effect, there is no object creation and if the whole pattern matching is not inlininable, try to favor inlining between the actions than the inlining between the different pattern recognition codes.

Пікірлер
Java Performance Puzzlers by Douglas Hawkins
46:49
Devoxx
Рет қаралды 29 М.
Evolving the Java Language with Brian Goetz
50:13
Java
Рет қаралды 10 М.
Serialization - A New Hope
50:53
Java
Рет қаралды 8 М.
Lambdas in Java: A Peek under the Hood • Brian Goetz • GOTO 2013
53:05
Collections Refueled by Stuart Marks
51:42
Devoxx
Рет қаралды 15 М.
JVM Mechanics by Douglas Hawkins
49:39
Devoxx
Рет қаралды 14 М.
Adventures in Parametric Polymorphism
1:05:16
Java
Рет қаралды 12 М.
Последствия выхода Айфона 16
0:23
ТРЕНДИ ШОРТС
Рет қаралды 6 МЛН
Is this Samsung's change over time #shorts
0:13
Si pamerR
Рет қаралды 1,5 МЛН
Самый дорогой iPHONE 16 PRO MAX #shorts
0:58
Арсений Петров
Рет қаралды 3,1 МЛН
Get your battery storage box
0:14
Nikola Toy
Рет қаралды 899 М.
Tesla Coil Testing #experiment #shorts
0:29
Light K
Рет қаралды 7 МЛН