Live data from Hacker News

Google Closure Library has been archived

github.com

51–60 of 89 posts

Re: Google Closure Library has been archived

#51
post #41
post #32

Earlier quoted context omitted.

I remember disliking google’s project names of that era. Too generic and borrow-y. Closure was a concept in JavaScript. Chrome is what Firefox was calling the parts around the rendered page (UI buttons, etc)

Not to mention “Go” …

At least the Go people were smart enough to refer to it as "golang" right from the start.

Re: Google Closure Library has been archived

#52
post #48
post #22

Earlier quoted context omitted.

Soon people are going to start putting up every line of code deleted by a Google engineer on this site.

It doesn't help that the maintainer is known to be a major AH on Xitter[1]. [1] https://x.com/killedbygoogle

Not seeing anything bad there

Re: Google Closure Library has been archived

#54
This brings back memories. A few years ago there was a CTF challenge at Google CTF for a XSS using Closure. There was an unintemeed solution by exploiting a reflective XSS in the documentation that is served with the closure library on installation. The docs page with reflective XSS could be included in an iFrame to get arbitrary JS with access to the root document (since they ran on the sam origin). No idea if this vuln is still around.

Re: Google Closure Library has been archived

#55
post #32
post #23

Closure. What a fitting name.

I remember disliking google’s project names of that era. Too generic and borrow-y. Closure was a concept in JavaScript. Chrome is what Firefox was calling the parts around the rendered page (UI buttons, etc)

You mean like MS does?

Windows, Teams etc.

Not to mention the teams in Teams.

Or Musk's rebranding of Twitter to X.

Seems after flattening the logos they flat names too.

Generic and hard to distinguish.

Re: Google Closure Library has been archived

#56

Has anyone outside of Google had any luck using the closure compiler with a modern-ish stack with the advanced optimizations? Tsickle and the like seem to be archived as well, so it's unclear to me. Google must internally have some tooling to go from ts to closureJS?

We relied on Closure Compiler for years, but we're now moving off it to ESBuild + UglifyJS. Closure has the most advanced minification, but these days it's not well maintained - it's lacking support for modern JavaScript features like dynamic imports and private fields, it's not clear when or if any of that will be supported, releases have reduced to every ~6 months, and all too often if you file a bug the response is "this doesn't affect Google, tough luck". So unfortunately despite having the best minification I can't recommend it any more - it's basically a Google-internal project that happens to be on GitHub. UglifyJS looks like a better option these days.

Re: Google Closure Library has been archived

#57
post #55
post #32

Earlier quoted context omitted.

I remember disliking google’s project names of that era. Too generic and borrow-y. Closure was a concept in JavaScript. Chrome is what Firefox was calling the parts around the rendered page (UI buttons, etc)

You mean like MS does? Windows, Teams etc. Not to mention the teams in Teams. Or Musk's rebranding of Twitter to X. Seems after flattening the logos they flat names too. Generic and hard to distinguish.

At least Microsoft's names are more descriptive than average. Microsoft Windows is an OS all about Windows; Microsoft Teams is a collaboration thing. And the whole company is called "microcomputer software". Microsoft Visual Studio is where you paint and sketch...

But yes, we've had flat names and flat icons for ages. It seems there's more supply of entrepreneurship than demand, so you can't call your thing what it does, because five other people already did that and you want your product to stand out. Hacker News is called Hacker News, but now that name's taken, so the next news for hackers will be called something like Newshack if you're lucky, or something like Marigold or Kallipo if you're not. (Actually, Slashdot was named before Hacker News). Recognizable companies may have an advantage, because they can call the product by their company name + what it does.

Re: Google Closure Library has been archived

#59
post #57
post #55

Earlier quoted context omitted.

You mean like MS does? Windows, Teams etc. Not to mention the teams in Teams. Or Musk's rebranding of Twitter to X. Seems after flattening the logos they flat names too. Generic and hard to distinguish.

At least Microsoft's names are more descriptive than average. Microsoft Windows is an OS all about Windows; Microsoft Teams is a collaboration thing. And the whole company is called "microcomputer software". Microsoft Visual Studio is where you paint and sketch... But yes, we've had flat names and flat icons for ages. It seems there's more supply of entrepreneurship than demand, so you can't call your thing what it d…

> Microsoft Visual Studio is where you paint and sketch

It's a code IDE, there's very little visual about it. It's a legacy name relating to Visual Basic, I believe it started as a code editor tightly integrated with a visual native UI editor.

Re: Google Closure Library has been archived

#60

Note that this doesn't include the Closure Compiler[0], and doesn't affect Clojurescript[1], which has traditionally used the compiler and related bits of the Google Closure library. [0] https://github.com/google/closure-library/issues/1214 [1] https://clojurescript.org/news/2024-01-24-release

Are you sure about that? The clojurescript implementation is built on top of the google closure library. Here's an example: https://github.com/clojure/clojurescript/blob/master/src/mai...
Post reply on HN