Shapeless VS magnolia

Compare Shapeless vs magnolia and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Shapeless magnolia
13 4
3,360 740
- 0.4%
7.5 7.6
7 days ago 6 days ago
Scala Scala
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Shapeless

Posts with mentions or reviews of Shapeless. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-06.

magnolia

Posts with mentions or reviews of magnolia. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-06.
  • Question regarding Recursive datatypes and cats typeclasses (Haskell to Scala)
    3 projects | /r/scala | 6 Jul 2023
    Scala 2/3: * Magnolia
  • Beginner's guide to derivations in Scala
    1 project | /r/scala | 24 Apr 2023
    If Mirror is too low level, I'd suggest playing with Magnolia https://github.com/softwaremill/magnolia. I haven't found any posts about it, I plan to publish something myself as a follow up to the one above. In the meantime you might want to check out magnolia examples https://github.com/softwaremill/magnolia/tree/scala3/src/examples
  • Some notes on developing a structured logging API for Scala
    2 projects | /r/scala | 1 Jul 2022
    The second feature is the auto-derivation for case classes using Magnolia. This saves a bunch of typing for case classes, while fitting neatly into field builders. This is not new if you've used Shapeless, but I found the macro-based approach in Magnolia much easier conceptually. I did find a small bug but it's easy enough to work around.
  • How to improve scala skills
    1 project | /r/scala | 4 Feb 2021
    Using shapeless is completelly optional and has a lot of disadvantages. I'd not even consider it a good learning material for functional programming. Magnolia is a bit more robust and has much better design, debugging and implicits resolution - it will be less pointful than starting with shapeless.

What are some alternatives?

When comparing Shapeless and magnolia you can also consider the following projects:

cats - Lightweight, modular, and extensible library for functional programming.

seals - Tools for schema evolution and language-integrated schemata

Monocle - Optics library for Scala

Learn-by-doing functional programming course on Scala - learn-by-doing course/tutorial for functional programming on scala

Scalaz - Principled Functional Programming in Scala

kittens - Automatic type class derivation for Cats

Chimney - Scala library for boilerplate-free, type-safe data transformations

echopraxia-plusscala - Scala API for Echopraxia

scala-newtype - NewTypes for Scala with no runtime overhead

scala.meta - Library to read, analyze, transform and generate Scala programs

cats-effect - The pure asynchronous runtime for Scala