@StrangeLoopConf
  @StrangeLoopConf
Strange Loop Conference | "How to Avoid Safety Hazards when using Closures in Scala" by Philipp Haller (Strange Loop 2022) @StrangeLoopConf | Uploaded October 2022 | Updated October 2024, 1 week ago.
Closures, or lambda expressions, are an essential language feature to work productively with popular data processing engines like Apache Spark and Flink, and they enable functional programming, a style of programming that is gaining popularity for composable programming with effects (such as I/O), among others. However, more and more use cases in parallel and distributed programming are testing the limits of the flexibility of closures. For example, the requirement for closures to be serializable is a common source of errors when developing data processing or streaming applications. In a concurrent setting, for example, when programming with futures and promises, closures must be used with great care in order to prevent safety hazards like race conditions. In this talk you will learn how to spot potentially unsafe code using closures, how to write safer closure-using code, and how to use newly developed library components to increase the flexibility and safety of closures in Scala.

Philipp Haller
Associate Professor at KTH Royal Institute of Technology, Sweden

Philipp Haller is an Associate Professor in the School of Electrical Engineering and Computer Science at KTH Royal Institute of Technology in Stockholm, the leading technical university in Sweden. He is co-author of Scala's async/await extension for asynchronous programming, and one of the lead designers of Scala's futures library. Main author of the book "Actors in Scala," he created Scala's first widely-used actor library. Dr. Haller was part of the team that received the ACM SIGPLAN Programming Languages Software Award in 2019 for the development of the Scala programming language. He is also one of the founders of the Software Development Academy at KTH, a 3-month accelerated training program in software development, which was selected finalist for the Tech Skills and Talent Award of Tech Awards Sweden in 2022. Dr. Haller received a Ph.D. in Computer Science from EPFL, Switzerland, in 2010 and a Diplom-Informatiker degree from Karlsruhe Institute of Technology, Germany, in 2006.

------ Sponsored by: ------

Stream is the # 1 Chat API for custom messaging apps. Activate your free 30-day trial to explore Stream Chat. gstrm.io/tsl
How to Avoid Safety Hazards when using Closures in Scala by Philipp Haller (Strange Loop 2022)Expert Software Developers Approach to Error by Marian Petre (Strange Loop 2022)Using data-driven metrics to anticipate and prevent security incidents by Caitlin BuckshawComputing Like the Brain by Jeff Hawkins (2012)How to Equitably Close the CS Education Gap by Jeffery PhippsFunctional distributed systems beyond request/response by Melinda LuWorkflows, a new abstraction for distributed systems by Dominik Tornow (Strange Loop 2022)Strange Loop Chat with Joel Holdbrooks about MeanderSniffing the Metaverse by Benjamin Cabé (Strange Loop 2022)Swearjure by Gary Fredericks (2013)The Lemniscate by Ann Johnson, Charles ComstockMarieli Wessel: How people really use GitHub Actions

"How to Avoid Safety Hazards when using Closures in Scala" by Philipp Haller (Strange Loop 2022) @StrangeLoopConf

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER