Learning modern Java the playful way
summary
Live demo builds an image search pipeline: use multimodal encoder (Gina) to create vector embeddings (1,000 floats), index filenames and embeddings into Elasticsearch, view in Kibana, and run hybrid text+vector search ranked with RRF. Code shows replacing CompletableFuture churn with structured task scope, using mapConcurrent with virtual threads for parallel mapping, lazy constants for HTTP client creation, and vector/Panama math that often halves runtime on SIMD-friendly ops; demos mostly run live and the example repo and slides are linked via QR.
AI-written summary · about
chapters (12)
- 0:00Introduction and setup
- 7:10State of modern Java
- 10:55Compact source files
- 13:45Search demo and records
- 20:47Module imports and stream gatherers
- 24:20Concurrent mapping
- 28:03Structured concurrency
- 34:20Lazy constants
- 36:18Markdown and ecosystem updates
- 40:29Primitive pattern matching
- 42:53Vector API performance
- 48:24Conclusion and resources
related talks
45mLearning modern Java the playful way
45mLearning Modern Java the Playful Way
46mLearning modern Java the playful way
59mLearning modern Java the playful way
43mLearning modern Java the playful way
29mUnleashing the Power of Vector Search and Semantic Caching in Java
46mBuilding Powerful GenAI Apps with Pure Java
01h 03mBuilding AI powered Applications with Java
