bloop icon indicating copy to clipboard operation
bloop copied to clipboard

Migrate away from monix to cats-effect

Open mcanlas opened this issue 2 years ago • 7 comments

Since monix is no longer maintained, we should upgrade the effect/cancelation framework to cats-effect

Hello from the Scala Spree at Scala Days 2023 Seattle! cc @tgodzik

mcanlas avatar Jun 05 '23 22:06 mcanlas

Can it be done with zio or pekko?

He-Pin avatar Sep 02 '23 07:09 He-Pin

zio probably also, but pekko would be an even major rewrite, so I would avoid that.

The biggest challenge is to probably use bsp4j first, later we can use any Framework we want underneath

tgodzik avatar Sep 02 '23 16:09 tgodzik

I have zero context, so this question might be basic but... What is the relation to bsp4j? Is that somehow tied to this repo's effect system? Or more of architectural debt that would make sense to do first?

mcanlas avatar Nov 29 '23 23:11 mcanlas

bsp4s uses monix by default, so to change to cats we can either switch to bsp4j or rewrite bsp4s also to cats. I would prefer the first option since it's more framework agnostic and would be easier to change to something else if needed.

tgodzik avatar Nov 30 '23 10:11 tgodzik