BT

InfoQ Homepage Presentations Simplifying Asynchronous Code With Scala Async

Simplifying Asynchronous Code With Scala Async

Bookmarks

Bio

Philipp Haller has been a member of the Scala team since 2006. His research on concurrent programming with race-free actors in Scala has been published in leading conferences, winning a best paper award. He is the creator of Scala’s first actors library which inspired Akka, as well as a contributor to the Scala language, standard library, and tools. He holds a PhD in Computer Science from EPFL.

About the conference

Strange Loop is a multi-disciplinary conference that aims to bring together the developers and thinkers building tomorrow's technology in fields such as emerging languages, alternative databases, concurrency, distributed systems, mobile development, and the web.

Recorded at:

Nov 25, 2013

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Too restrictive but works nice in simple cases

    by Alexander Semenov /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Unfortunately, this approach is too limiting. If you have a bunch of calls returning futures of Option, Either, Validation, or similar, and have to use one call result in next call - you're out of luck. You can't do usual for comprehension business on these types since they involve creating inner lambdas when unsugared to map/flatMap and the restriction is not to use await within lambdas. So you're thrown to using pattern matching (which annihilates any benefit from async/await, in my opinion).

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.