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
20082026
-
…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...
comment by charleslmunger · 2025-07-07 · in Async Queue – One of my favorite programming interview questions -
▲ 3
Use Guava in modular Java apps at 33.4.5+story by sgammon · 2025-03-19 · 0 comments
-
…[1] https://docs.python.org/3/howto/functional.html#small-functi... [2] https://github.com/google/guava/wiki/FunctionalExplained
comment by ryandv · 2024-09-05 · in What's functional programming all about? (2017) -
…of the package instead of them just publishing the diverging code base as two repository packages. https://github.com/google/guava/issues/2914
comment by mey · 2023-11-08 · in Guava: Google core libraries for Java -
▲ 49
Guava: Google core libraries for Javastory by tosh · 2023-11-08 · 49 comments
-
…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]: <…
comment by OmarAssadi · 2023-02-18 · in John Carmack on Functional Programming in C++ (2018) -
…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 -
▲ 2
Idea Graveyard – Google/Guavastory by crummy · 2022-06-15 · 0 comments
-
…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...
comment by sorokod · 2022-05-29 · in Understanding Bloom filters by building one -
Yes, a hash map that expires objects and loads new KV when key isn't present inside https://github.com/google/guava/wiki/CachesExplained
comment by agilob · 2022-04-08 · in What software engineers can learn from the rapid collapse of Fast -
…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) -
…is an issue for other languages as well. Another example: the "Google core libraries for Java": https://github.com/google/guava
comment by drewda · 2022-01-07 · in Folly: An open-source C++ library developed and used at Facebook -
…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 -
▲ 2
Guava Idea Graveyardstory by ganonm · 2021-09-17 · 0 comments
-
…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 -
…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…
comment by shubik22 · 2021-04-11 · in Ask HN: 30 years old attempting a career change, advice needed. -
…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 -
▲ 1
Guava 30story by based2 · 2020-10-31 · 0 comments
-
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…
comment by rochak · 2020-03-13 · in What are best examples of well-structured open source products to learn from? -
▲ 1
Idea Graveyard of Guava (2017)story by ptrik · 2019-11-18 · 0 comments
-
…bookmarks: https://github.com/kdn251/interviews https://github.com/aakash1104/Graph-Algorithms https://github.com/google/guava/wiki/GraphsExplained
comment by hrgiger · 2019-10-08 · in Ask HN: What are the top textbooks for data structures? -
…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 -
…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.
comment by the_arun · 2019-07-30 · in Ask HN: What are the “best” codebases that you've encountered? -
▲ 1
Internet Domain Name Explainedstory by aqaqaqqaq · 2019-06-19 · 0 comments
-
…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 -
…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 -
…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 -
▲ 3
Found a Pokémon in Googles codestory by guy_mahieu · 2017-10-10 · 1 comment
-
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 -
…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 -
…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 -
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 -
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 -
▲ 2
Guava ImmutableList: awful performance in some cases (size-optmized)story by tosh · 2016-12-03 · 0 comments
-
▲ 2
Opengrok for open source android librariesstory by bangarharshit · 2016-11-23 · 0 comments
-
▲ 2
Guava/wiki/GraphsExplainedstory by based2 · 2016-11-03 · 1 comment
-
▲ 1
Guava-Make java more pleasant to usestory by hitr · 2016-06-29 · 0 comments
-
▲ 8
Guava: Google Core Libraries for Javastory by hitr · 2016-06-28 · 0 comments
-
▲ 1
Google Guava: Core Libraries for Javastory by dhruvbhatia · 2016-06-19 · 0 comments
-
▲ 1
Guava ImmutableList offers awful performance in some cases (2014)story by lemming · 2016-05-19 · 0 comments
-
…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
comment by phaas · 2016-05-01 · in Ask HN: What are examples of GitHub repositories with high code quality? -
…all over Java libraries, from logging frameworks to collections to concurrent data structures. [1] https://github.com/google/guava/wiki/EventBusExplained
comment by jcrites · 2015-12-03 · in Rob Pike: Simplicity Is Complicated [video] -
▲ 2
Google Core Libraries for Java 6+story by NicoJuicy · 2015-10-25 · 0 comments
-
…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