Ask HN: Google Guice another abandonware from Google?

  • I work on the team that maintains Guice and we are working on a new release. And no, Guice is not abandonware since it is widely used inside Google. As part of this new release, we will be making some changes to the build setup so hopeful future releases will occur more frequently.

  • Guice is pretty old now, like 12 years or so. That's a pretty good run for a programming library, and wouldn't put that in the same class of abandonment as other Google shutdowns.

  • Guice forms a core part of many of Google's internal Java frameworks, so it's unlikely to be deprecated anytime soon.

    However, Google only upgraded to JDK11 in 2021, so there's probably not much internal pressure yet to keep Guice up to date with JDK17.

  • Yes, I don't know anyone who uses Guice, but lots of people who use Spring. The momentum was never there, nor it will be.

  • If you're just concerned about dependency injection there's also the CDI standard way of doing things where there are multiple implementations to choose from.

    If you're concerned about bloat you could look into Quarkus. There's a CDI implementation there combined with a really slick and fast runtime.

  • Hasn't Google Guice been superseded by Google Dagger? [1] As far as I know Guice seemed to be in maintenance mode for quite a while now.

    [1] https://github.com/google/dagger

  • Just fork it. But JDK17 support was fixed Sep 2021