's Avatar

@rcardin

141
Followers
116
Following
52
Posts
20.11.2024
Joined
Posts Following

Latest posts by @rcardin

Post image

Spring 🌷 is approaching fast here in Italy 🇮🇹, and a new version of #Scala #YAES is here!
- a new integration with Circe 🐍;
- a new `Retry` effect handler ↩️, which allows retrying code execution using different policies; and much more!

Checkout the release notes: github.com/rcardin/yaes...

03.03.2026 19:03 👍 0 🔁 0 💬 0 📌 0
Big ball of mud Writing about Scala, Kotlin, and the JVM — from functional programming and effect systems to design patterns and concurrency.

I revamped my blog with a new look and feel. 🌻

There are articles about #Scala, #Java, #Kotlin, functional programming, and software engineering.
EST. 2013 ⭐️

blog.rcard.in

16.02.2026 11:56 👍 1 🔁 1 💬 0 📌 0
λÆS - Yet Another Effect System An experimental effect system for Scala 3 inspired by Algebraic Effects

Here are the docs of the HTTP Server: blog.rcard.in/yaes/#/http/...
...and here are the release notes: github.com/rcardin/yaes...

Let's keep in touch 😘

06.02.2026 07:55 👍 0 🔁 0 💬 0 📌 0
Post image

S. Valentine is approaching for #Scala lovers ❤️, and it brings version 0.13.0 of the #YAES library. 🥁 We added an HTTP server this time...yes, we did it! A fully effectful server, based on virtual threads, with graceful shutdown! 😱

It's still in its experimental phase, so any feedback is welcome 🤝

06.02.2026 07:54 👍 0 🔁 0 💬 1 📌 0
Post image

Here we go again, hashtag#Scala lovers 🎸! Version 0.12.1 of hashtag#YAES is here with big new features! ✨ We implemented the graceful shutdown for the `Async` effect!

If you want, you can interact with the shutdown process using the `Shutdown` effect 😱

Release notes: github.com/rcardin/yaes...

16.01.2026 16:09 👍 0 🔁 0 💬 0 📌 0
Riccardo Cardin:  Yo Dawg, Heard You Want To FlatMap Your Direct Style [Scala Days 2025]
Riccardo Cardin: Yo Dawg, Heard You Want To FlatMap Your Direct Style [Scala Days 2025] The direct style in Scala 3, influenced by languages like Kotlin and Rust, simplifies functional programming by eliminating for-comprehension syntax on higher-kinded types. It offers an imperative approach supported by context functions. While many Scala developers support it, others prefer the tra

🤖 Direct-style programming can feel elegant until you try to compose it. This session explores what happens when flatMap enters the picture.
Check out "Yo Dawg, Heard You Want To FlatMap Your Direct-Style" from Riccardo Cardin

19.12.2025 18:28 👍 4 🔁 1 💬 0 📌 1
Post image

Hey, #Scala lovers 💕, Santa is coming 🎅, bringing version 0.11.0 of #YAES this year! 🎁 This time, we added the integration with Reactive Streams so that you can use YAES with any library implementing the standard (Akka, Vert.x, Http4s...).

github.com/rcardin/yaes...

Merry Christmas! 🎄

23.12.2025 09:37 👍 1 🔁 0 💬 0 📌 0
Shoehorning dependency injection into a FP language (...)? - Eric Torreborre | Lambda Days 2025
Shoehorning dependency injection into a FP language (...)? - Eric Torreborre | Lambda Days 2025 YouTube video by Code Sync

Sad to learn that there will not be a #lambdadays 2026 conference in Krakow. As a consolation, all the 2025 talks have now been published including mine: www.youtube.com/watch?v=LDln...

10.12.2025 15:24 👍 4 🔁 1 💬 0 📌 0
Post image

#Scala lovers ,💕#YAES v0.10.0 is out! Bridge the gap between YAES and Typelevel Cats Effect 🐈 with the new `yaes-cats` module. Convert between IO monads, integrate with `Validated` types, and get `MonadError` instances for `Raise`.

Check out the release notes: github.com/rcardin/yaes...

10.12.2025 17:09 👍 1 🔁 1 💬 0 📌 0
Post image

#Scala lovers, #YAES 0.9.0 is here! 🚀 Full I/O stream support with `Flow` 🌊. Read files, process lines, and write output with ease. In addition, we introduced `channelFlow`, the bridge 🌉 between channels and flows! Cold flows + concurrent emission = 🔥

Check it out 👉 github.com/rcardin/yaes...

27.11.2025 11:30 👍 0 🔁 0 💬 0 📌 0

Hack.Commit.Push Switzerland is just one week away! 🇨🇭

This is a great opportunity to get involved in Open Source projects like @assertj.github.io, with direct guidance from the maintainers!

13.11.2025 10:30 👍 7 🔁 8 💬 0 📌 0
Post image

We've closed the first round of applications for the Scalar Call for Papers!

We'll be announcing the first speakers for the 2026 edition very soon!

In the meantime, check out our #myscalastory series at sml.io/myscalastory, featuring insights from top Scala and functional programming experts!

12.11.2025 12:51 👍 2 🔁 1 💬 0 📌 0
Post image

A new month, a new version of #YAES 🥳 Version 0.8.0 finally introduces the `YaesApp`. Now, you can develop your direct style #Scala app, and Yaes will take care of the execution of most of the effects 🙌

Plus, we redesigned Channels and added overflow policies! 💪

github.com/rcardin/yaes...

12.11.2025 07:39 👍 0 🔁 0 💬 0 📌 0
Post image

#Scala Effects lovers, here is the Halloween 🎃 release of #YAES. We introduced Channels in the library. Now, fibers can communicate asynchronously through message passing 📨. #Kotlin Channels heavily inspired the feature.

Here are the release notes: github.com/rcardin/yaes...

23.10.2025 08:26 👍 2 🔁 0 💬 0 📌 0

My first @scaladays.org just finished. Thanks to all the people who attended my talk and took some time to chat with me 🙏

There are a lot of engineers, data scientists, front-enders, and students who do extraordinary things using #Scala every day, and are the heart of our community 💕. Thank you all

21.08.2025 18:26 👍 3 🔁 0 💬 0 📌 0
Post image

Version 0.5.0 of the #YAES effect system is here 🚀 (just in time for @scaladays.org...fiuuu). We added the `State[S]` effect to the #Scala 3 party 🥳. However, be careful that the current version is not thread-safe.

Here are the release notes: github.com/rcardin/yaes...

16.08.2025 11:55 👍 2 🔁 0 💬 0 📌 0
Post image

I'm reading @sam-cooper.bsky.social's "Kotlin Coroutine Confidence". It's a masterpiece💫, even if you already know #Kotlin coroutine machinery:

It's worth your money 💰: pragprog.com/titles/sckot...

08.08.2025 09:26 👍 4 🔁 2 💬 2 📌 0

#DropsOf #Kafka: It's possible to force an order on messages read by consumers from a topic by using the same key for all messages to be read in order.

Naive, but effective in most cases 😜

22.07.2025 19:50 👍 0 🔁 0 💬 0 📌 0
Post image

#DropsOf #Kotlin: Kotlin was the first language on the JVM implementing continuation passing style (CSP) directly in the compiler 🚄. It rewrites every suspending function using CSP, adding a `Continuation` object to the parameters and rewriting the body accordingly 🪄

20.07.2025 13:53 👍 0 🔁 0 💬 0 📌 0
Post image

#DropsOf #Java: Checked exceptions were a good idea ✨. They are some form of an effect system. You know precisely what kind of effects a function performs. To eliminate the effect, you need to handle it, and the compiler forces this behavior. However, they don't compose with lambdas 🤷‍♂️

19.07.2025 11:58 👍 2 🔁 1 💬 0 📌 0
Post image

#DropsOf #kotlin: Do you know you can implement the race primitive 🚗 for coroutines in just one line of code?

The `channelFlow` has its coroutineScope, and when the `first` function cancels the Flow execution, it cancels all the running coroutines that did not win the race. 😍

18.07.2025 09:10 👍 0 🔁 0 💬 0 📌 0
Post image

#Scala lovers, version 0.4.0 of the #YAES effect system is out!🚀 What a journey.🤪 The new `Resource` effect is here, and now you can even zip two different `Flow`. Wow, concurrent programming on flows! 🎉

Here are the release notes: github.com/rcardin/yaes...

09.06.2025 15:21 👍 1 🔁 0 💬 0 📌 0
Post image

Hey, #Scala lovers! I'll give a talk at the next @scaladays.org 2025 🎉. I still can't believe it 🤪.

Let's meet in Losanna to share our experiences on direct-style and monadic effect systems! I'll bring my (on-going) knowledge about the former, with my library #YAES ⭐️

See you there 👋

30.05.2025 07:51 👍 1 🔁 0 💬 0 📌 0
Do You Even Handle Effects?
Do You Even Handle Effects? YouTube video by Ticino Software Craft

Today, I talked at Ticino Software Craft 🧑‍🔬. We discussed #Scala Effect Systems, both monadic and direct-style (in detail, the #YAES effect system).

It was a pleasure to join the Ticino software community.
Thanks, guys, for the opportunity 🙏

www.youtube.com/watch?v=PEiM...

28.05.2025 19:40 👍 1 🔁 0 💬 0 📌 0
Preview
Do you even handle effects? | LinkedIn Scala’s effect systems have come a long way from Monix and Scalaz, to Cats Effect, ZIO, and now Ox and Kyo. The debate between monadic and direct styles is at its peak or maybe, it doesn’t have to be ...

Save the date 📅! I will discuss #Scala and Direct-Style Effect Systems this Wednesday at the Ticino Software Craft meetup 🚀.

See ya online 👋
www.linkedin.com/events/doyou...

26.05.2025 19:41 👍 0 🔁 0 💬 0 📌 0
Preview
Do you even handle effects? | LinkedIn Scala’s effect systems have come a long way from Monix and Scalaz, to Cats Effect, ZIO, and now Ox and Kyo. The debate between monadic and direct styles is at its peak or maybe, it doesn’t have to be ...

On Wednesday, May 28th, I will join the team from Ticino Software Craft to share some knowledge and ideas about Effect Systems in #Scala ⭐.

Everybody's welcome 👋.

You can't miss it 💯

www.linkedin.com/events/doyou...

20.05.2025 19:33 👍 1 🔁 0 💬 0 📌 0
Preview
Scala.IO Scala.IO is a conference for people having interest in the Scala ecosystem or simply being curious about the language, usages

Hello folks 👋

ScalaIO is back for another edition in 2025 🥳

🌐 It will be held at La Grande Crypte, Paris 🇫🇷 on the 17/10/2025
🎟️ Early birds tickets are already open to sales(f: Person => `scala.io`)
🤝 CFP & sponsorships will open very shortly

See you soon 😊

12.05.2025 07:10 👍 7 🔁 5 💬 0 📌 0
Post image

Version 0.3.0 of the #YAES library just landed 🚀. No new effects this time, but the porting of the first bunch of methods of the #Kotlin `Flow` type! #Scala has flows now, and they compose well with YAES effects 🙌

Here are the release notes: github.com/rcardin/yaes...

09.05.2025 14:12 👍 1 🔁 0 💬 0 📌 0
Post image

Yesterday I played with the #YAES library to understand what is missing to gain RT. Guess what 🤔? Maybe I managed to introduce some form of RT in a #Scala direct-style approach. I need you 🫵 to join the discussion:

github.com/rcardin/yaes...

cc @scalatimes.com

30.04.2025 06:31 👍 0 🔁 0 💬 0 📌 0
Post image

Hey, #Scala devs! To celebrate the Liberation Day in Italy 🇮🇹(April 25th), here is a new version of the #YAES library! We added the `Log` effect that does what its name promises 😅

Keep on coding! 🙌

github.com/rcardin/yaes...

@scalatimes.com

24.04.2025 13:05 👍 1 🔁 0 💬 0 📌 0