Immutable Collections

  Рет қаралды 5,120

Java

Java

Күн бұрын

Paul Sandoz, Software Engineer, Oracle
This session discusses immutable collections, specifically those called persistent collections, commonly used in JVM languages such as Scala and Clojure and more recently introduced in the Java functional library vavr. The presentation explains the fundamental structure of persistent collections, analyzes their pros and cons, and assesses their performance. It also evaluates persistent collections to see how they might integrate with existing APIs in the Java platform. At the end of the session, you should have a good idea of how persistent collections work and whether they are a good solution for your needs.

Пікірлер: 2
@GlenPeterson
@GlenPeterson 7 жыл бұрын
Great talk - thank you! Phil Bagwell (with Tiark Rompf) pioneered the RRB-Tree as an improvement on Rich Hickey's PersistentVector from Clojure and reference Rich's work in their paper: infoscience.epfl.ch/record/169879/files/RMTrees.pdf I think Rich's HashMap implementation in Clojure is still unbeaten in every respect. Rich's TreeMap I think was taken from Okasaki's Purely Functional Data Structures. www.cs.cmu.edu/~rwh/theses/okasaki.pdf So I think Okasaki was first, Rich Hickey second, and Bagwell was third. Not sure who came before Okasaki. Rich provided the first highly performant JVM implementations of Hash/Tree Map/Set and Vector. Bagwell/Rompf proposed a vector improvement which is much more complicated and better in some circumstances and worse in others.
@GlenPeterson
@GlenPeterson 7 жыл бұрын
Putting the builder in the closure is a GREAT IDEA! I haven't seen that before. Brilliant!
Designing for Modularity with Java 9
41:54
Java
Рет қаралды 4 М.
Collections Refueled
47:15
Java
Рет қаралды 4,5 М.
The day of the sea 😂 #shorts by Leisi Crazy
00:22
Leisi Crazy
Рет қаралды 1,9 МЛН
отомстил?
00:56
История одного вокалиста
Рет қаралды 7 МЛН
Persistent Data Structures and Managed References - Rich Hickey
55:54
Immutable Collections
29:25
Java
Рет қаралды 10 М.
Modules and Services
44:49
Java
Рет қаралды 10 М.
Java Strings are Immutable - Here's What That Actually Means
7:06
Coding with John
Рет қаралды 616 М.
Collections Refueled by Stuart Marks
51:42
Devoxx
Рет қаралды 15 М.
What is a Monad? - Computerphile
21:50
Computerphile
Рет қаралды 603 М.
Java Records - Are they really Immutable?
13:00
Viraj Shetty
Рет қаралды 586
The day of the sea 😂 #shorts by Leisi Crazy
00:22
Leisi Crazy
Рет қаралды 1,9 МЛН