LOADING

Implementing multithreading in Scala Native or a story of 201 little pains

Listen to a story of how we have dealt with 201 obstacles allowing us to run multithreaded programs natively!

Wojciech Mazur
A member of VirtusLab's Scala Compiler team, Scala Center alumni
About This Talk

One of the core Scala domains is scalable, concurrent, or parallel data processing, which typically at some point is powered by JVM Threads. However, the Scala Native - an ahead-of-time compiler and runtime for Scala, was for a long time limited to only a single thread of execution. At first glance, it might have sounded like it a not a big deal. Starting system threads is easy...but then, suddenly, you need to deal with memory models, garbage collections, synchronization, data atomicity, and many more blockers, just to provide the same semantics as JVM ensures.

Listen to a story of how we have dealt with 201 obstacles allowing us to run multithreaded programs natively!

more great talks

Might Be Interesting

Day 1
  —  
10:00 am
arrow pointing right icon

Scala tooling ecosystem

I would like to go over the most relevant tools and changes that can improve your developer experience.

Day 1
  —  
5:30 pm
arrow pointing right icon

Generative Art with Scala, No AI Required

In this talk, we will demonstrate some elegant applications of functional programming in Scala, with even more elegant visual results - all with live code and real-time output.

Day 2
  —  
10:00 am
arrow pointing right icon

The debatably Free monad

This talk is my slightly expanded version of that statement, and should hopefully understand what "Free" is, what purpose it serves and where it came from.

Day 1
  —  
9:30 am
arrow pointing right icon

Mirrors for operations, not data

I propose that we can extend Mirrors to operations, and use the most natural DSL of all - plain trait definitions.

See All Events
Join us!

We're looking for amazing speakers.
CFP is open till 10.01.2023

Fill in Call for Papers
location icon

Location

Centrum Konferencyjne POLIN, Poland
stay in touch icon

Follow Us

Contact Us