Connecting...

W1siziisimnvbxbpbgvkx3rozw1lx2fzc2v0cy9zawduawz5lxrly2hub2xvz3kvanbnl2jhbm5lci1kzwzhdwx0lmpwzyjdxq

Happy eyeballs live-coding using ZIO by Adam Warski at Scala in the City

W1siziisijiwmjavmdcvmjcvmtyvmzuvmjgvmzyzl0nvchkgb2ygq29wesbvzibdb3b5ig9mienvchkgb2ygu0nbteegsu4gvehfienjvfkgq09orkvsru5drs5wbmcixsxbinailcj0ahvtyiisijkwmhg5mdbcdtawm2uixv0

Did Adam Warski's talk at Scala in the City give you happy eyeballs?

It did for us! Make sure you check out the awesome live-coding session with ZIO!


Happy eyeballs live-coding using ZIO

Writing concurrent code which is also safe is a long-lasting battle - and quite often deadlocks and race conditions win despite our best attempts. That’s why new ways to describe processes emerge; structured concurrency is one promising approach.

The “Happy Eyeballs” algorithm is an example that was first used by Nathaniel J. Smith to illustrate various approaches to dealing with concurrency. We'll follow suit and implement the same in Scala, which is *the* language to tame concurrency problems.

The talk will be almost entirely live-coding, explaining first the algorithm, and then going through the implementation using ZIO: creating a description of a process using the available combinators, leveraging interruptibility and fixing bugs, which still seem to be inevitable.



This talk was given by Adam Warski at Scala in the City.