<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Years ago I tried playing with 'Delimited Continuations' in
Scala.</p>
<p>I seriously hurt my brain. 😱<br>
</p>
<p>Eventually, some yahoos implemented Delimited Continuations in
Loom, and life was better. 🥳<br>
</p>
<p>I really enjoy Virtual Threads and Structured Concurrency, but
now I wonder what is next. 🤔<br>
</p>
<p>I can program in Scala and Kotlin just fine, but there is a high
cognitive load sometimes... I am always looking to Java where my
brain can relax, where it's Five O'Clock Somewhere. 😎<br>
</p>
<p>I have been looking at 'Effects Systems' a lot, but there is
still a lot to learn. 😳<br>
</p>
<p>Probably one of the best videos I have seen is <a
href="https://www.youtube.com/watch?v=AvwlvRp3d3w">Effect
Systems in Scala: An introduction</a>.</p>
<p>While I have been playing with <a href="https://fs2.io">FS2</a>,
I really want to wrap my brain around Algebraic Effects, and I am
wonder where <a
href="https://twitter.com/odersky/status/1546552401368334339?lang=en">Caprese</a>
is going? Cats Effect and Zio look interesting, and necessary for
FS2, but neither seem to be based on Algebraic Effect as explained
in <a href="https://www.youtube.com/watch?v=0Fm0y4K4YO8">DIRECT
STYLE SCALA</a>.</p>
<p>I am not telling the Loomers what to do, I and just speculating
on where they go after Loom. 🧐<br>
</p>
<p>I also found <a
href="https://www.youtube.com/watch?v=m821Vz8N_bo">Haskell'23]
The Evolution of Effects</a> very satisfying, as a way to update
my dormancy in Computing Science in recent years.</p>
<p>Java Streams are a big disappointment, in that we should be able
to hang those methods off the collections directly, so they are
not lazy... the way Scala separates Collections from Views.
Sometimes you don't want the overhead of a Stream, as I discovered
play with Loom. Not a biggie, just a gotcha. Maybe with Effects
and Resources, we cannot do that?<br>
</p>
<p>But, those Java Architects, they sure seem good at paying
attention to future proofing Java, and on a six month release
cycle, it is really entertaining, and useful to see what they come
up with next...</p>
<p>Cheers, Eric<br>
</p>
</body>
</html>