closure-library

Google's common JavaScript library (by google)

Closure-library Alternatives

Similar projects and alternatives to closure-library

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better closure-library alternative or higher similarity.

closure-library reviews and mentions

Posts with mentions or reviews of closure-library. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • For processing strings, streams in C++ can be slow
    8 projects | news.ycombinator.com | 6 Dec 2023
    > "I recently learned that some Node.js engineers prefer stream classes when building strings, for performance reasons." Pretty much tells you everything you need to know about node js, I guess.

    Google Closure Library includes a StringBuffer class. [1]

    I recall it having explanatory notes, but I don't see them in the code now. JavaScript engines can optimize a string concatenating to in-place edit, if there is only one reference to the first string. The StringBuffer class keeps the reference count at one, guaranteeing this optimization is available, even if the StringBuffer itself is ever shared.

    [1] https://github.com/google/closure-library/blob/master/closur...

  • Closure Library Is in Maintenance Mode
    1 project | news.ycombinator.com | 6 Nov 2023
  • Tailscale/golink: A private shortlink service for tailnets
    10 projects | news.ycombinator.com | 13 Dec 2022
    This made me wonder what the oldest go-link (from inside Google) discoverable on the public internet is. So far I've found one going back to 2013 (but there should definitely be some from the mid 2000s): https://github.com/google/closure-library/blame/11ed104958a2...

    (Fun fact: go-links are so critical to Google ops, that they're expected to be accessible in a "everything is down" scenario.)

  • Which Type, Currency Values In DB?
    1 project | /r/webdev | 5 Oct 2022
    For data type I always use DECIMAL(#, 6). So 6 decimal places. This accommodates all generally agreed upon rounding standards for calculating interest, taxes, discounts, etc. So for me, something like $12.75 USD will look like 12.750000 in the database. I store the 3-letter currency code in a separate column. I know what the base value for each currency is on the code side in our framework, which has a currency library that reads a dataset that has every currency stored like this (the 'rules' key is a bitmask per Google's i18n currency.js):
  • How do I find out what functions are called when a button is pressed in Chrome Console?
    1 project | /r/codehunter | 26 Apr 2022
  • A note from our sponsor - WorkOS
    workos.com | 25 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic closure-library repo stats
5
4,838
6.6
3 days ago

google/closure-library is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of closure-library is JavaScript.


Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com