YoVDO

Fast, Simple Concurrency with Scala Native

Offered By: Scala Days Conferences via YouTube

Tags

Scala Days Courses Memory Allocation Courses Concurrency Courses Systems Programming Courses

Course Description

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

Related Courses

Teaching Domain Specific Languages in Scala
Scala Days Conferences via YouTube
Why Dolly Is Just the Beginning for Open LLM Models
Scala Days Conferences via YouTube
Building Billion Node Graphs for Machine Learning
Scala Days Conferences via YouTube
How Does Incremental Compilation Work with Scala 3
Scala Days Conferences via YouTube
AI Assisted Development
Scala Days Conferences via YouTube