Главная
Study mode:
on
1
Intro
2
Java is a strict language...
3
Turning Java into a lazy language
4
A simple practical example: logging
5
Laziness: the ultimate performance optimization technique
6
Separation of Concerns
7
Lazy evaluation in Scala
8
Implementing a lazy list in Java
9
Iteration vs. Recursion
10
Tail Call Optimization
11
Trampolines to the rescue
12
What's wrong with annotation- based dependency injection?
13
The joys of dependency injection
14
Lazy injection with the reader monad
15
Key Takeaway
Description:
Explore the concept of lazy evaluation in Java through this Devoxx conference talk. Delve into how lambdas introduced in Java 8 enable lazy patterns and data structures typically found in functional languages. Discover practical applications of laziness, including processing infinite data sets and delaying expensive computations. Learn about the reader monad for managing dependencies and trampolines for handling recursive calls. Gain insights into implementing lazy lists, comparing iteration and recursion, and understanding tail call optimization. Examine the drawbacks of annotation-based dependency injection and explore alternative approaches. Through slides and live coding sessions, acquire practical knowledge to leverage laziness for improved performance and design in Java applications.

Lazy Java

Devoxx
Add to list
0:00 / 0:00