Does anyone here (intentionally) use Scala without an effects library such as Cats or ZIO? Or without going "full Haskell"?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/scala

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • frameless

    Expressive types for Spark.

    Frameless is a nice way to grab some type safety back from Spark, and features opt-in Cats integration.

  • Laminar

    Simple, expressive, and safe UI library for Scala.js (by raquo)

    On the frontend, I use my own Laminar with observables that don't care about purity or tracking effects, and no Cats or Futures or anything else.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • Http4s

    A minimal, idiomatic Scala interface for HTTP

    On the backend, I use http4s with Cats Effect, but I don't think in terms of purity or category theory, I just use IO as a nicer Future.

  • ocaps

    Object capability (ocap) tools and macros for Scala.

    I agree absolutely. There are cases where using an effects library is the best thing you can do. I've written an object capabilities library in Scala, and it's a much nicer experience to use capabilities with cats-effect than doing it raw.

  • cats-effect

    The pure asynchronous runtime for Scala

    Akka-stream, zio, and cats-effect all have very simple ways to do this by just passing an Int that specifies the parallelism at the call-site. Akka-stream has mapAsync. ZIO has mapMPar(f:A=%3Ezio.ZIO[R1,E1,B]):zio.stream.ZStream[R1,E1,B]), foreachPar, etc. Cats has parSequenceN and parTraverseN.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts