Advertisement ยท 728 ร— 90

Posts by

Post image

The slides for my talk at the @scalar-conf.com are available. It's called "The Concurrency Triangle: Scala Fibers, Java Virtual Threads, and Kotlin Coroutines".

Check'em out!

github.com/rcardin/scal...

3 weeks ago 0 0 0 0
Post image

Today it's Father's Day in Italy! ๐Ÿ‡ฎ๐Ÿ‡น What better event for a new version of #YAES? Version 0.16.0 introduces HTTP Client! It's a wrapper around #Java HttpClient, but lifted to effect tracking ๐Ÿš€

Plus, we reinvented the site: blog.rcard.in/yaes/

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

1 month ago 0 0 0 0
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...

1 month ago 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

2 months ago 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 ๐Ÿ˜˜

2 months ago 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 ๐Ÿค

2 months ago 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...

3 months ago 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

4 months ago 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! ๐ŸŽ„

3 months ago 1 0 0 0
Advertisement
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...

4 months ago 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...

4 months ago 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...

4 months ago 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!

5 months ago 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!

5 months ago 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...

5 months ago 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...

5 months ago 2 0 0 0
Advertisement

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

7 months ago 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...

8 months ago 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...

8 months ago 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 ๐Ÿ˜œ

8 months ago 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 ๐Ÿช„

9 months ago 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 ๐Ÿคทโ€โ™‚๏ธ

9 months ago 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. ๐Ÿ˜

9 months ago 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...

10 months ago 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 ๐Ÿ‘‹

10 months ago 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...

10 months ago 1 0 0 0
Advertisement
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...

10 months ago 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...

11 months ago 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 ๐Ÿ˜Š

11 months ago 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...

11 months ago 1 0 0 0