Hacker GitHub

← All repos

softwaremill/macwire

View on GitHub ↗ ★ 1,315 Scala

Zero-cost, compile-time, type-safe dependency injection library.

5 mentions on Hacker News by 3 people: 0 stories, 5 comments · first 2017-08-18 · latest 2019-05-01

Mentions per year 5 mentions · busiest year 2017 (2)
20082026
  1. …before) and will sort our necessary dependencies for you (and error out of they are missing). [1] https://github.com/adamw/macwire
    comment by eeperson · 2019-05-01 · in Compile-Time DI vs. Run-Time DI
  2. …if it does slow down compilation, it is a price rarely paid due to incremental compilation. [1] https://github.com/adamw/macwire [2] https://google.github.io/dagger/
  3. …2[2]. At least in the case of Macwire, it is super simple to reason about at compile time. [1] https://github.com/adamw/macwire [2] https://google.github.io/dagger/
  4. …centralized logic in a single location, then Scala's MacWire library seems to be the best example: https://github.com/adamw/macwire Scala's implicits can be seen as some kind of lightweight DI system, but it is definitely not meant to be…
  5. …definitely a lot of very legitimate use-cases for them outside of Shapeless. To give just a few: * https://github.com/adamw/macwire * https://github.com/fthomas/refined * https://github.com/adamw/quicklens *…
    comment by clhodapp · 2017-08-18 · in Reasonable Scala Compiler