Live data from Hacker News

Google Closure Library has been archived

github.com

41–50 of 89 posts

Re: Google Closure Library has been archived

#41
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)

Not to mention “Go” …

Re: Google Closure Library has been archived

#42

Earlier quoted context omitted.

They still use it in all those services.

Not really. Those projects now use JsLayout, Wiz, and a couple of other more modern libraries. There may be some Closure widgets on very old, barely maintained, pages, but they'll be fine. Closure library is still in the Google monorepo, it's just not going to be copied to GitHub anymore.

While folks don't really use Closure Components anymore, the library is huge and both Wiz and JsLayout (and Fava) are built on Closure.

Re: Google Closure Library has been archived

#43
I have very fond memories of joining Google and discovering the Closure library. It had everything and in an era before npm, JS modules, and ES6... it made writing JS feel magical. Impossibly large projects felt possible, and complex systems felt maintainable.

These days it feels a bit like boost is to modern C++. A monument to amazing engineering of the past, but something to keep in the archive.

Re: Google Closure Library has been archived

#44
post #38
post #36

It's a shame this is being abandoned, because if you want a rich text editor that truly is Gmail's compose editor as it has existed for the past decade - that emits the same structures that Gmail would, handles copy-pasted rich text the same way Gmail does, has the same behavior in typing inside links etc... which is especially useful if you're building an email client that Gmail users need to feel familiar on every…

Fun fact: the code name for the editor was TrogEdit, with Trogdor the Burninator as their mascot. I believe they even had a life size cardboard Trogdor by their desks. It's one of the oldest, most stable, and never rewritten parts of the Gmail codebase.

> It's one of the oldest, most stable, and never rewritten parts of the Gmail codebase.

Sorry to be negative, but I guess the lack of maintenance explains why the undo/redo is so atrocious, both in speed and in correctness.

Re: Google Closure Library has been archived

#45
post #39

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?

They archived the open source parts , but it's the same stack internally.

So they just stopped sharing it publicly? That's kinda odd.

Re: Google Closure Library has been archived

#47
post #38

Earlier quoted context omitted.

Fun fact: the code name for the editor was TrogEdit, with Trogdor the Burninator as their mascot. I believe they even had a life size cardboard Trogdor by their desks. It's one of the oldest, most stable, and never rewritten parts of the Gmail codebase.

> It's one of the oldest, most stable, and never rewritten parts of the Gmail codebase. Sorry to be negative, but I guess the lack of maintenance explains why the undo/redo is so atrocious, both in speed and in correctness.

Sometimes, simple feedback like this leads to a complete refactoring which addresses the main point of the refactor but misses the mark on so much more...for all of eternity.

Re: Google Closure Library has been archived

#49

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?

tsickle doesn't look archived to me: https://github.com/angular/tsickle

Lucid Software migrated their code from closure compiler JS to typescript, and continue to use the closure compiler with advanced optimizations. See https://lucid.co/techblog/2017/11/16/converting-600k-lines-t....

It would not at all surprise me if google internally has better tooling than what they have open sourced though.

Re: Google Closure Library has been archived

#50
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” …

Ah, and the +1 button (instead of Like) in Google+ was appropriated from message board chats
Post reply on HN