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
  —  
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
  —  
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
  —  
8:00 pm
arrow pointing right icon

Scalar Afterparty!

Don't miss out on this opportunity to connect with Scalar community and create lasting memories

Day 2
  —  
2:00 pm
arrow pointing right icon

Turbocharging web socket integration for Tapir

We managed to alleviate almost entirely the slowdown induced by Tapir in a web socket server. The journey towards this goal was quite insightful, and we would like to share it with you.

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.

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