London Scala Talks: Chris Birchall and Aleksandar Skrbic

London Scala Users' Group
London Scala Users' Group
Public group

Online event

This event has passed

Details

Join us virtually for another round of London Scala Talks! This month, we'll be hearing from Chris Birchall.

You can join the Virtual Classroom at https://eu.bbcollab.com/guest/df6879c6313a410f9a21dfd2bdb2a68f

6:30pm - Room opens. Come along for a chat!

7:00pm - *Chris Birchall Type class derivation in Scala 3*

Type class derivation is one of the most exciting new features of Scala 3. In this talk I'll explain how library authors can use it to make life easier for their users.

I'll start with a quick recap of how type class derivation is typically achieved in Scala 2, and how it looks in other languages such as Haskell and Rust.

Then I'll live-code a `derived` method for the world's simplest type class, Show. Once we've seen how all the pieces fit together, we can move on to a more interesting example: deriving Functor for paramterized ADTs.

Finally I'll demonstrate how I'm planning to combine type class derivation with Scala 3's new macro framework to allow automatic gRPC server and client generation in Mu (https://higherkindness.io/mu-scala/), a microservices framework developed by 47 Degrees.

7:40pm - Intermission

7:50pm - *Aleksandar Skrbic - Microservices Patterns with Akka and Kafka*

Talk about some common patterns specific to microservices and streaming architectures.

I will show how to integrate Kafka in your microservices and why Akka and especially Akka Streams are great tool for that. Also, I will code a few Akka based services and show how interservice communication can be implemented with Akka Http or Alpakka Kafka.

Finally, I will review our Akka and Kafka based architecture and of course code will be available on GitHub.