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

YouTube

Simplifying Asynchronous Code With Scala Async

Strange Loop Conference via YouTube

Overview

Explore asynchronous programming in Scala with this 45-minute conference talk from Strange Loop 2013. Learn about Scala Async, a powerful tool that simplifies asynchronous code by allowing developers to write concurrent code in a sequential style. Discover how to use the 'async' and 'await' constructs to suspend and resume code execution without blocking, making it easier to work with Futures and Promises. Gain insights into integrating Scala Async with various event-driven libraries and see practical examples, including its application in the Play Framework. Delve into advanced features and experimental extensions like Ray, which introduces additional constructs for handling asynchronous operations. Presented by Philipp Haller, a long-time Scala team member and co-author of "Actors in Scala," this talk offers valuable takeaways for developers looking to enhance their asynchronous programming skills in Scala.

Syllabus

Intro
THE PROBLEM
INSPIRATION
GENTLE INTRO TO ASYNC Async provides two constructs: async and wait
USING ASYNC
IN SHORT
PLAY FRAMEWORK EXAMPLE
ANOTHER EXAMPLE
BACK TO USING FOR
DIRECT STYLE
USING AWAIT
NEW FEATURE
EXPERIMENTAL EXTENSION
RAY: RASYNC, AWAIT*, YIELD
CONCLUSION
WHAT IS IT FOR?
TAKEAWAY
ROADMAP
PLUG

Taught by

Strange Loop Conference

Reviews

Start your review of Simplifying Asynchronous Code With Scala Async

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.