Useful-Things icon indicating copy to clipboard operation
Useful-Things copied to clipboard

Investigate additional DI frameworks, adding to example weather application

Open Col-E opened this issue 2 years ago • 5 comments

  • [x] https://avaje.io/inject/
  • [ ] https://docs.micronaut.io/latest/guide/#ioc
  • [x] https://eclipse-ee4j.github.io/glassfish-hk2/
  • [x] https://github.com/jbock-java/simple-component
  • [ ] https://github.com/officefloor/OfficeFloor
  • [x] https://github.com/inverno-io/inverno-core
  • [ ] https://github.com/quarkusio/quarkus/tree/main/independent-projects/arc

Col-E avatar Feb 02 '23 21:02 Col-E

I was reading this question and I start searching about what are other DI options and find myself here. I never thought about DI comparison before especially performance wise. Looks like you(@Col-E) have broad experience on these, can you tell which one is faster than other ?

ozkanpakdil avatar May 17 '24 21:05 ozkanpakdil

Generally avoiding reflection is a good start, but I have to ask why would you be concerned about DI performance?

Col-E avatar May 17 '24 22:05 Col-E

Might be doing AWS lambda development where cold start matters or something.

SentryMan avatar May 17 '24 23:05 SentryMan

@Col-E I am concerned about performance generally not only DI but any lib I use, I try to compare it to other alternatives and decide after, Spring is kind of industry standard now which we can not run away from but still I wonder which one is faster 😃

ozkanpakdil avatar May 18 '24 12:05 ozkanpakdil

Spring is kind of industry standard which we can not run away from

Be the change you want to see in this world.

I wonder which one is faster

It isn't spring that's for sure

SentryMan avatar May 18 '24 13:05 SentryMan