ECOOP 2026 (series) / The Scala Workshop 2026 (series) / The Scala Workshop 2026 /
Off-Heap Memory Library in Scala 3
This program is tentative and subject to change.
High-performance Scala applications often struggle with the memory overhead of the JVM, specifically regarding object boxing and pointer indirection. While the Java 21 Foreign Function & Memory (FFM) API provides primitives for off-heap access, it lacks a high-level, type-safe interface integrated with Scala’s type system. This talk presents a prototype of a Scala 3 library that leverages metaprogramming—specifically inlining, Mirrors, and erasedValue—to compute memory layouts at compile-time. We provide a user-friendly API that allows for consecutive memory allocation of complex data structures without runtime overhead or manual byte-offset calculation.
| Talk proposal (scala_workshop-paper6.pdf) | 611KiB |
This program is tentative and subject to change.
Mon 29 JunDisplayed time zone: Brussels, Copenhagen, Madrid, Paris change
Mon 29 Jun
Displayed time zone: Brussels, Copenhagen, Madrid, Paris change
11:00 - 12:30 | |||
11:00 30mTalk | Invited talk: JoinActors: A Modular Library for Actors with Join Patterns The Scala Workshop 2026 Alceste Scalas Technical University of Denmark Link to publication DOI | ||
11:30 30mTalk | Off-Heap Memory Library in Scala 3 The Scala Workshop 2026 Asli Ünlüer EPFL File Attached | ||
12:00 30mTalk | A Brief Critique of The Collection Library The Scala Workshop 2026 File Attached | ||