Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Fast, Simple Concurrency with Scala Native

Scala Days Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore fast and simple concurrency with Scala Native in this conference talk from Scala Days Lausanne 2019. Dive into the background of concurrency, common issues, and design questions before introducing libUV and its integration with Scala Native. Learn about native-loop, streams implementation, and server APIs. Examine performance considerations and systems programming concepts, including memory allocation and C FFI. Discover how to build an ExecutionContext from scratch using libUV's event loop. Gain insights into working with opaque structs and explore future developments in Scala Native concurrency.

Syllabus

Intro
This talk is about
Talk Outline
About me
Background: Concurrency
Concurrency in Scala
Common Concurrency Issues
Design Questions
Scala Native is
Caveat
Introducing libuv
libuv and Scala Native
A Tour of Native-Loop
Streams (take 1)
Streams, take 2
Curl
Imperative Server API
Server DSL(s)
All of the Above
Performance
Systems Programming 101
Example: Memory Allocation
Example: C FFI
Greenspun's tenth rule
ExecutionContext from Scratch
LibUV's event loop
Our EventLoop callback
LoopExtensions
Timer
Working with Opaque Structs
What's Next?

Taught by

Scala Days Conferences

Reviews

Start your review of Fast, Simple Concurrency with Scala Native

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.