A conference talk walkthrough of modern Java features introduced in versions 16 through 26, demonstrated by refactoring a hybrid image search application. Features covered include records, module imports, compact source files with instance main methods, stream gatherers with concurrent mapping using virtual threads, structured concurrency as a replacement for CompletableFuture, lazy constants, markdown Javadoc comments, pattern matching with primitive types in switch expressions, and the Vector API for SIMD-based performance gains. The demo uses Elasticsearch with vector embeddings and reciprocal rank fusion for hybrid search. Speakers also argue that developers should upgrade Java versions frequently rather than waiting for LTS releases.

44m watch time

Sort: