Hacker GitHub

← All repos

google/guava

View on GitHub ↗ ★ 51,915 Java

Google core libraries for Java

44 mentions on Hacker News by 36 people: 16 stories, 28 comments · first 2015-03-24 · latest 2025-07-07

Mentions per year 44 mentions · busiest year 2016 (8)
20082026
  1. …That's the right answer for real code, but what are you really assessing by asking it? [1] https://github.com/google/guava/blob/master/guava/src/com/go...
  2. ▲ 3
    Use Guava in modular Java apps at 33.4.5+
    story by sgammon · 2025-03-19 · 0 comments
  3. …[1] https://docs.python.org/3/howto/functional.html#small-functi... [2] https://github.com/google/guava/wiki/FunctionalExplained
  4. …of the package instead of them just publishing the diverging code base as two repository packages. https://github.com/google/guava/issues/2914
  5. ▲ 49
    Guava: Google core libraries for Java
    story by tosh · 2023-11-08 · 49 comments
  6. …thing. Though, in my experience, it is the only feature in it that has bitten me at times. [1]: < https://github.com/google/guava/wiki/ImmutableCollectionsExp... > [2]: < https://projectlombok.org > [3]: <…
  7. …aren't using them because the language standard libraries point them in the wrong direction. [0] https://github.com/google/guava/wiki/Release21#user-content-... [1] https://github.com/rust-lang/rust/blob/1c63ec48b8cbf553d291a...
    comment by the8472 · 2022-07-22 · in The trouble with symbolic links
  8. ▲ 2
    Idea Graveyard – Google/Guava
    story by crummy · 2022-06-15 · 0 comments
  9. …on how to drive this: [3] [1] https://guava.dev/releases/snapshot-jre/api/docs/com/google/... [2] https://github.com/google/guava/blob/master/guava/src/com/go... [3] https://github.com/google/guava/blob/master/guava-tests/test...
  10. Yes, a hash map that expires objects and loads new KV when key isn't present inside https://github.com/google/guava/wiki/CachesExplained
  11. …tps://search.maven.org/artifact/com.google.guava/guava/31.... You can find the source code on GitHub: https://github.com/google/guava On the right side of the page, you can find eleven (!) different wants to include this dependency ( and )…
    comment by throwaway2037 · 2022-02-21 · in Why I Like Java (2014)
  12. …is an issue for other languages as well. Another example: the "Google core libraries for Java": https://github.com/google/guava
  13. …java I suspect are similarly hard in Rust. Here's two pieces of concurrent code I struggled with: https://github.com/google/guava/blob/master/guava/src/com/go... https://github.com/google/guava/blob/master/guava/src/com/go... I'm not sure…
    comment by charleslmunger · 2021-12-26 · in State of Valhalla
  14. ▲ 2
    Guava Idea Graveyard
    story by ganonm · 2021-09-17 · 0 comments
  15. …together, in which case this FAQ explains pretty well their downsides compared to an event bus: https://github.com/google/guava/wiki/EventBusExplained#faq
    comment by ncann · 2021-06-19 · in EventBus 3.1 with plain Java support
  16. …now, but the first thing that came to mind for a good open source Java codebase is Guava by Google: https://github.com/google/guava It’s a collection of core libraries for Java that I believe should have a lot of useful patterns/concepts…
  17. …for is not a exact match. For example I tried just one random search. Search keyword: HashMapBoxing https://github.com/google/guava/search?q=HashMapBoxing No results for me, however here is one that contains word IdentityHashMapBoxing…
    comment by reader_1000 · 2020-12-17 · in Changes to Code Search Indexing
  18. ▲ 1
    Guava 30
    story by based2 · 2020-10-31 · 0 comments
  19. Some of my favorites - Elasticsearch - https://github.com/elastic/elasticsearch Google's Guava - https://github.com/google/guava Sourcegraph - https://github.com/sourcegraph/sourcegraph Spectrum - https://github.com/withspectrum/spectrum…
  20. ▲ 1
    Idea Graveyard of Guava (2017)
    story by ptrik · 2019-11-18 · 0 comments
  21. …bookmarks: https://github.com/kdn251/interviews https://github.com/aakash1104/Graph-Algorithms https://github.com/google/guava/wiki/GraphsExplained
  22. …core to their business. Examples: - Amazon: https://firecracker-microvm.github.io - Google: https://github.com/google/guava - Microsoft: https://github.com/microsoft/vscode - Apple: https://github.com/apple/foundationdb Am I missing the…
    comment by StreamBright · 2019-09-10 · in Uber lays off 435 people
  23. …2. Jetty - https://github.com/eclipse/jetty.project 3. Guava - https://github.com/google/guava Common theme is - Easy to follow, clean documentation & use of consistent patterns.
  24. ▲ 1
    Internet Domain Name Explained
    story by aqaqaqqaq · 2019-06-19 · 0 comments
  25. …very easy to accidentally create O(n^2) code. For example, take a look at the test case added here: https://github.com/google/guava/commit/4e41d621c3f413eb31da2...
    comment by charleslmunger · 2019-04-22 · in O(N^2) in CreateProcess
  26. …all other readers waiting for the loading thread to complete the fetch and populate the cache. [1] https://github.com/google/guava/wiki/CachesExplained [2] in the sense of "in the time it takes for the first accessor to complete the…
    comment by thamer · 2019-04-17 · in Thundering Herds and Promises
  27. …are similar utility methods for computing the object hashCode() and toString() and so on. See: https://github.com/google/guava/wiki/CommonObjectUtilitiesEx... There's still an opportunity to make mistakes like typos here, but due to the…
    comment by jcrites · 2018-02-19 · in The Evil Within the Comparison Functions
  28. ▲ 3
    Found a Pokémon in Googles code
    story by guy_mahieu · 2017-10-10 · 1 comment
  29. Not a bad intro, but java.io is an old crufty mess. Use guava's io instead: https://github.com/google/guava/wiki/IOExplained
    comment by bradleyjg · 2017-06-23 · in Java for beginners
  30. …is probably just as big as C#. I won't bore everyone going over the list but check out the summary https://github.com/google/guava/wiki Things I've used recently include Guavas automatic argument tester, in memory caches/queues, high speed…
    comment by shouldbworking · 2017-04-23 · in The End of IKVM.NET
  31. …more influenced by the efficiency of the runtime than it is by the concurrency/async strategy. [0] https://github.com/google/guava/wiki/ListenableFutureExplain... and https://docs.oracle.com/javase/8/docs/api/java/util/concurre... [1]…
    comment by jcrites · 2017-04-20 · in Hard-won lessons: Five years with Node.js
  32. Guava's `ListenableFuture` can be used as an alternative to `JDeferred`. See [1]. [1] https://github.com/google/guava/wiki/ListenableFutureExplain...
    comment by JensRantil · 2017-02-21 · in Java libraries you can't miss in 2017
  33. Guava's `EventBus` can be used as an alternative to `MBassador`. See [1]. [1] https://github.com/google/guava/wiki/EventBusExplained
    comment by JensRantil · 2017-02-21 · in Java libraries you can't miss in 2017
  34. ▲ 2
    Guava ImmutableList: awful performance in some cases (size-optmized)
    story by tosh · 2016-12-03 · 0 comments
  35. ▲ 2
    Opengrok for open source android libraries
    story by bangarharshit · 2016-11-23 · 0 comments
  36. ▲ 2
    Guava/wiki/GraphsExplained
    story by based2 · 2016-11-03 · 1 comment
  37. ▲ 1
    Guava-Make java more pleasant to use
    story by hitr · 2016-06-29 · 0 comments
  38. ▲ 8
    Guava: Google Core Libraries for Java
    story by hitr · 2016-06-28 · 0 comments
  39. ▲ 1
    Google Guava: Core Libraries for Java
    story by dhruvbhatia · 2016-06-19 · 0 comments
  40. ▲ 1
    Guava ImmutableList offers awful performance in some cases (2014)
    story by lemming · 2016-05-19 · 0 comments
  41. …Java - Spring Framework @ https://github.com/spring-projects/spring-framework - Guava @ https://github.com/google/guava Javascript - ui-grid @ https://github.com/angular-ui/ui-grid
  42. …all over Java libraries, from logging frameworks to collections to concurrent data structures. [1] https://github.com/google/guava/wiki/EventBusExplained
  43. ▲ 2
    Google Core Libraries for Java 6+
    story by NicoJuicy · 2015-10-25 · 0 comments
  44. …ConcurrentLinkedHashMap: https://code.google.com/p/concurrentlinkedhashmap/ * Google Guava's Cache: https://github.com/google/guava
    comment by NovaX · 2015-03-24 · in Caffeine – Java 8 caching