scalacenter / bloop

Bloop is a build server and CLI tool to compile, test and run Scala fast from any editor or build tool.
https://scalacenter.github.io/bloop/
Apache License 2.0
906 stars 201 forks source link

Migrate away from monix to cats-effect #2066

Open mcanlas opened 1 year ago

mcanlas commented 1 year ago

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

He-Pin commented 1 year ago

Can it be done with zio or pekko?

tgodzik commented 1 year ago

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

mcanlas commented 11 months ago

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?

tgodzik commented 11 months ago

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.