valhalla-docs
Dagger2
valhalla-docs | Dagger2 | |
---|---|---|
13 | 50 | |
58 | 17,320 | |
- | 0.2% | |
2.3 | 9.1 | |
about 1 month ago | 3 days ago | |
CSS | Java | |
GNU General Public License v3.0 only | Apache License 2.0 |
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.
valhalla-docs
-
Value type companions, encapsulated
What isn't clear for me from https://github.com/openjdk/valhalla-docs/blob/main/site/design-notes/state-of-valhalla/02-object-model.md is whether or not value types will indeed be headerless.
-
Devs Sound Off on C# 11 Preview Features Like Parameter Null Checking
Regarding type erasure, see https://github.com/openjdk/valhalla-docs/blob/main/site/design-notes/in-defense-of-erasure.md for a justification. Note in particular that not doing erasure would have forced languages like Scala to follow Java's semantics. In cases where erasure is actually a problem, you can work around it with classes like https://fasterxml.github.io/jackson-core/javadoc/2.2.0/com/fasterxml/jackson/core/type/TypeReference.html.
-
6 .NET Myths Dispelled — Celebrating (Almost) 21 Years of .NET
Here's a (relatively recent) post on type erasure from the lead of the value types project at Oracle https://github.com/openjdk/valhalla-docs/blob/main/site/design-notes/in-defense-of-erasure.md
-
Background: How We Got the Generics We Have
If you want to read something a little more formal and fleshed out, try scanning through this document, and then come back again and tell me that Brian doesn't understand your suggestion.
-
OpenJDK proposals would bring universal generics to Java
Source
-
Java 17 / JDK 17: General Availability
I haven't been following it incredibly closely, but I have checked in from time to time. It's a hard problem, but there's a lot of real progress (https://github.com/openjdk/valhalla-docs/blob/main/site/desi...).
I'd wager that it will ship by the next LTS, in 2024.
-
JEP draft: Universal Generics (Preview)
Quotes from here
- Simple benchmark of JDK 17 - Valhalla project
- If you could change one thing in the Java and one thing in the JVM, what would you change?
- State of Valhalla, Apr 2021
Dagger2
- Dagger 2.49 (KSP, @AssistedInject with @HiltViewModel, more)
- Dagger 2.48 adds alpha KSP support
- Dagger KSP update & Breaking changes required to use Dagger KSP
-
Performance and memory impact of the @Singleton annotation in Dagger
There used to be a thing called "releasable references" which was that. It was removed, though: https://github.com/google/dagger/issues/1117
-
Dependency injection with AWS Lambdas in java
As said in the title, we will focus on the dependency inversion principle and one of its application : dependency injection. For production-ready applications, it would be better to rely on a framework and not implement its own container. For it, the java ecosystem have 3 frameworks available : Spring, Guice and Dagger.
-
Refactoring our Dependency Injection using Anvil
At Reddit, we use Dagger 2 for handling dependency injection (DI) in our Android application. As we’ve scaled the application over the years, we’ve accrued a bit of technical debt in how we have approached this problem.
-
Dagger Python SDK: Develop Your CI/CD Pipelines as Code
Confusing. I initially thought someone ported the Dagger DI framework to Python: https://dagger.dev/
-
Multiplatform dependency injection libraries equivalent to Dagger/Anvil
I'm currently using Dagger and Anvil for my DI needs. It's been working really well, especially around what Anvil permits in terms of multibindings defined on the type declaration rather than in a module. For example:
-
Dagger 2.43 released with support for multiple instances of the same ViewModel using keys 🎉
Great job, I have been waiting for this feature/fix for a long time https://github.com/google/dagger/issues/2328
-
Best libraries for Android Developers
Dagger
What are some alternatives?
adoptium.net - Development of the website has moved to https://github.com/adoptium/website-v2
Guice - Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.
adoptium
Toothpick - A scope tree based Dependency Injection (DI) library for Java / Kotlin / Android.
loom - https://openjdk.org/projects/loom
Weld - Weld, including integrations for Servlet containers and Java SE, examples and documentation
Immutables - Annotation processor to create immutable objects and builders. Feels like Guava's immutable collections but for regular value objects. JSON, Jackson, Gson, JAX-RS integrations included
butterknife - Bind Android views and callbacks to fields and methods.
amber-docs - https://openjdk.org/projects/amber
HK2
MQTTnet - MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Dynamic CDI - Dynamic Context Dependency Injection