4 ms·
The Closure Compiler is the big news. As the article says, it turns your regular JavaScript code into compact, high-performance JavaScript code. This is some of
by nym 17y ago
The Closure Compiler is the big news. As the article says, it turns your regular JavaScript code into compact, high-performance JavaScript code. This is some of the magic behind Google Maps, Gmail, and I assume Wave.
This is a very big deal for JavaScript developers because it is like having JSLint, YUI Compressor, and Chuck Norris rolled into one.
- ironsam 17y agoSort of, except it has its problems: http://webreflection.blogspot.com/2009/11/google-closure-im-not-impressed.html http://webreflection.blogspot.com/2009/11/google-closure-im-...
- enneff 17y ago"it turns your regular JavaScript code into compact, high-performance JavaScript code." It won't actually make your JavaScript much faster, if it does at all. The major benefits are the exclusion of unused code, and code in-lining where possible. This helps a lot in terms of cutting down loading times, but your code is still only really going to be about as efficient as it was before.
- jollojou 17y agoWave is built with GWT (http://www.techworld.com.au/article/305043/aussie_devs_make_wave_google_web_toolkit http://www.techworld.com.au/article/305043/aussie_devs_make_...), which has its own JavaScript compiler. But do GWT and Closure use the same technology, that I don't know.