Overview
Explore the implementation patterns and performance implications of virtual threads in Java through an engaging conference talk. Dive into the potential game-changing impact of virtual threads on the Java ecosystem, comparing their scalability and simplicity to traditional asynchronous programming models. Examine the costs and benefits of creating numerous virtual threads, including memory usage, performance impact, and scheduling considerations. Investigate the effects of frequent context switching and potential cache misses associated with virtual threads. Learn from a practical implementation of Conway's Game of Life using the communicating sequential processes (CSP) model, comparing virtual and native threads with various algorithms. Gain valuable insights and rules of thumb for effectively utilizing virtual threads in Java development.
Syllabus
Game of Loom: implementation patterns and performance implications by Mario Fusco
Taught by
Devoxx