Exploring JVM Innovations Through the Lens of Scala Native
summary
Scala Native now ships a continuations API (since 0.5) that implements loom-style fibers by saving activation frames and doing user-level context switching, and a dining philosophers demo runs many virtual threads across different workers showing the scheduler actually distributes work; JDK 24’s new single-word object header (22-bit class pointer) inspires reducing Scala Native’s mark-word overhead; Valhalla hints and Panama’s foreign/vector APIs are noted as paths for future low-overhead value types and native bindings. continuations API dining philosophers result JDK 24 object header
AI-written summary · about
chapters (10)
- 0:00JVM innovations and Scala Native
- 1:28JVM improvements impact on Scala
- 4:01Scala Native’s JVM independence
- 5:49Virtual threads in Scala Native
- 15:25Dining philosophers demo
- 16:28Lilliput project optimizations
- 20:42Valhalla’s value classes
- 25:02Generics specialization
- 27:13Panama project relevance
- 29:00Summary and Q&A
related talks
35mA Deep Dive into Scala Native Internals
29mA brief introduction to systems programming, with Scala Native
36mHands-on Scala-Native
37mExplaining Different Coroutine Flavours using Scala Native
48mFast, Simple Concurrency with Scala Native
31mThe Concurrency Triangle
44mScala 2.12 & Java 8: More Fun Together!
35mScala 2.12 & Beyond
