MacWire VS jam

Compare MacWire vs jam and see what are their differences.

jam

Incredibly simple DI Scala library. (by yakivy)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
MacWire jam
6 4
1,253 60
0.0% -
7.1 5.1
3 days ago about 2 months ago
Scala Scala
Apache License 2.0 MIT License
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.

MacWire

Posts with mentions or reviews of MacWire. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-10.
  • typelevel
    2 projects | /r/scala | 10 Sep 2022
    Coming back to ZIO, besides learning the operators which ZIO has, there is not much to it and you have to embrace calling ZIO.x everywhere. The Layers in ZIO 2.0 are excellent and I believe that the creators want to trick us to write good OOP and we are one macro away from Springs Autowire. Perhaps even macwire is up to speed already, I didn't check for a long time.
  • Why no scala native IOC containers?
    3 projects | /r/scala | 1 Feb 2022
    You can have IoC without using a DI framework. You just pass the arguments manually. I've found that it works really well. If however that's not your preference there are a couple DI frameworks in scala such as: https://github.com/softwaremill/macwire and https://izumi.7mind.io/distage/index.html
  • Which would be the scala way of building a modular/plugin based architecture application?
    2 projects | /r/scala | 19 Oct 2021
    Implement the application around https://github.com/softwaremill/macwire and hope the wiredInModule feature (which support dynamic loading) would be ported to Scala 3 soon.
  • Macwire alternatives for scala 3
    3 projects | /r/scala | 11 Apr 2021
    Arguing for Macwire in Scala 3 is moot anyway, because it won't be available there: https://github.com/softwaremill/macwire/commit/e9281111d78a1beeb8950f367be18cbb67aef9fe
  • Structuring Code with ZIO & ZLayers
    3 projects | /r/scala | 3 Mar 2021
    One easy reason is that macwire won't be available for Scala 3 (https://github.com/softwaremill/macwire#scala3) 😉

jam

Posts with mentions or reviews of jam. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-17.
  • Jam 0.4.0 got Reval monad
    1 project | /r/scala | 13 May 2023
    jam-monad module provides Reval monad that encodes the idea of allocating an object which has an associated finalizer. Can be thought of as a mix of cats.effect.Resource and cats.Eval. It can be useful in cases when you need to control an object lifecycle: how many times the object should be allocated, when it should be allocated and how it should be closed. In the combination with jam-cats it should cover most DI cases. More info and examples can be found here: https://github.com/yakivy/jam
  • Jam 0.0.4 got Scala 3 support
    3 projects | /r/scala | 17 Apr 2021
    type-splices are very confusing, it almost made me crazy until I found out that before using the type in splice it should be matched on type-splice like: https://github.com/yakivy/jam/blob/master/core/src-3/jam/JamMacro.scala#L64
  • Macwire alternatives for scala 3
    3 projects | /r/scala | 11 Apr 2021
    I made a simple macwire analogy that can build object trees and can be potentially migrated on Scala 3: https://github.com/yakivy/jam I'm planning to start migration next week, so if you will not find any better solution, you are welcome ☺️

What are some alternatives?

When comparing MacWire and jam you can also consider the following projects:

Scala-Guice - Scala extensions for Google Guice

Shapeless - Generic programming for Scala

DIStage - Productivity-oriented collection of lightweight fancy stuff for Scala toolchain

s2gen - A simple static site generator written in Scala

Airframe - Essential Building Blocks for Scala

SubCut - Scala Uniquely Bound Classes Under Traits

Scaldi - Lightweight Scala Dependency Injection Library

Grafter

Domino - OSGi dynamics made easy

Cableguy - Yet another Scala Dependency Injection Library

Sclasner - Scala classpath scanner

zio-magic - Construct ZLayers automagically (w/ helpful compile-time errors)