Skip to content
0:00 / 0:00

#cats-effect#fs2#resource-safety

Resource safety is hard - SPFS #10

Jakub Kozłowski

3.7K subscribers • 30 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Jakub Kozłowski
  • Linked in the descriptionkubukoz/steve

Advanced. Deep dive for people who know the field.

1.1K views4 years ago1 recommendation

Programming languagesSoftware designScalaConcurrency and parallelism

Jakub Kozłowski debugs and fixes a resource safety issue in a Scala application using functional streams.

Nearing the end of the series, here's Scala Project From Scratch 10! We're getting the tests to compile after starting to move into streams in episode 9. There's also a huge resource safety issue from episode 9 that I finally understood and fixed here, as well as some work to recover the ability to have typed errors in streams. Project URL: github.com/kubukoz/steve If you enjoyed this video, please like and subscribe, and hit the bell icon so you don't miss another one ;) I'm on Twitter: twitter.com/kubukoz on GitHub: github.com/kubukoz sometimes stream on Twitch: twitch.tv/kubukoz And you can buy me a coffee if you want: ko-fi.com/kubukoz Read the code (at the point after the video): github.com/kubukoz/steve/tree/episode-10 Chapters: - Intro - Scala Steward PRs - Recap of last episode - Plans for this episode - Getting tests to compile - Response was disposed - Catching errors in stream - Moving typed errors inside the stream - Summary of current progress - Trying out fix for previous episode's bug - Extract stream handler - Next steps

Why it's here

1 person recommends this

u/kubukozcats,cats-effectin r/scala • Recommends

Resource safety is hard - Scala Project From Scratch #10