Day 4 -

Aug 21st

Stage 1

17:00 - 17:40

What Scala can learn from Rust, Swift, and C++

This talk will explore two areas where minor improvements could have a huge impact on Scala’s usability.

The first relates to the extensibility of its standard library. Indeed, extending it with custom data structures is surprisingly challenging, making it difficult to inherit collection algorithms, thus compelling users to resort to expensive wrappers or reinvent the wheel. Interestingly, other languages have appropriated Scala’s type classes to address this issue. Is there a reason Scala cannot do the same?

The second relates to control-flow. While Scala still enjoys the most expressive form of pattern matching, Swift and Rust have brought a number of improvements that enhance the convenience of recurring idioms. Surely, Scala can incorporate these sugars into its powerful system.

Dimi Racordon

Dimi is a researcher at EPFL in Switzerland. She got her Ph.D. in computer science at the University of Geneva. She worked on model checking and developed efficient data structures to generate and explore large state spaces. Dimi likes generic programming, because it looks like math, and low-level programming languages, because she loves wasting time on premature optimization.

Eugene Flesselle

Subscribe

Join our conference

Subscribe and follow @ScalaDays on BlueSky for the latest conference updates.