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 2
  —  
9:00 am
arrow pointing right icon

Contravariance: intuition building and examples

This talk aims to equip the audience with the minimum required bagage to get comfortable working with contravariance.

Day 1
  —  
2:30 pm
arrow pointing right icon

Anti-corruption layers through functional type safety

This presentation describes the development of a financial middleware that internationally connects several ERP systems (Navision and SAP) to a cloud-based invoicing solution.

Day 1
  —  
3:30 pm
arrow pointing right icon

Diamond Architecture: lessons learned

The talk explores the recursive structure of Diamond Architecture.

Day 1
  —  
11:30 am
arrow pointing right icon

Custom Compile-Time Errors With a Vengeance

In this talk, we will take a tour around the `error` function. Starting from the simple use-cases and ending up with sophisticated yet developer-friendly error messages.

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.

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