Adam Warski - Concurrency in Scala and on the JVM

  Рет қаралды 2,020

Scala Days Conferences

Scala Days Conferences

Күн бұрын

Concurrent programming is one of the areas where Scala shines. Due to its flexibility in defining new abstractions, we can enjoy concurrency toolkits that provide declarative concurrency APIs. They often eliminate the causes of race conditions or deadlocks at their source.
Despite concurrency being Scala’s specialization, or probably because of that fact, the landscape of concurrency libraries and frameworks is dynamic. There are a couple of approaches that have been gaining popularity: starting with Akka, through Monix, cats-effect, ZIO, joined recently by a new contender: libraries based on JVM’s Loom project.
Let’s characterize the various approaches to concurrency, revealing their strong and weak sides so that you can pick whatever suits your project best. We’ll consider safety, developer experience, readability, interaction with effect systems, type-level guarantees, and more!

Пікірлер: 4
11 ай бұрын
Great overview! I personally prefer the functional approach despite the syntactic overhead.
@programmer-z9b
@programmer-z9b 6 ай бұрын
You don’t use onComplete when dealing with Future in actors of Pekko/Akka,but you use pipeToSelf code block in which you define commands to be sent in both Success and Failure case, to the actor’s next behavior it will transition to.
@avalagum7957
@avalagum7957 11 ай бұрын
No Cats were mentioned here? By the way, I always like all Adam's talks, live coding and blog posts.
@albertbosshard9942
@albertbosshard9942 Ай бұрын
Actually, cats-effect was briefly mentioned at the beginning (around 2:31).
Concurrency on the JVM using Scala
1:02:36
London Java Community
Рет қаралды 1,1 М.
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 29 МЛН
Tagless Final in Scala
36:13
Rock the JVM
Рет қаралды 10 М.
Maciej Gorywoda - The State of the IntelliJ Scala Plugin 2023
28:02
Scala Days Conferences
Рет қаралды 791
Can we make concurrency in Scala safer?-Philipp Haller
45:10
Scala World
Рет қаралды 1,9 М.
Full Stack Scala 3 with the Typelevel Stack - a Conference Talk
32:29
Never say never by Adam Warski
31:23
Sphereit by VirtusLab
Рет қаралды 253
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57