HN Theater @HNTheaterMonth

The best talks and videos of Hacker News.

Hacker News Comments on
Speed Up Your JavaScript

GoogleTechTalks · Youtube · 31 HN points · 2 HN comments
HN Theater has aggregated all Hacker News stories and comments that mention GoogleTechTalks's video "Speed Up Your JavaScript".
Youtube Summary
Google Tech Talk
June 4, 2009

ABSTRACT

Web Exponents: Speed Up Your JavaScript
Presented by Nicholas C. Zakas.

As an interpreted language, JavaScript is filled with hidden performance issues that conspire to slow down your code and ruin the user experience. Learn exactly what is fast, what is slow, and what you can do to squeeze that last bit of performance out of your JavaScript code.

Nicholas C. Zakas is the author of Professional JavaScript for Web Developers, 2nd Edition (Wrox, 2009), co-author of Professional Ajax, 2nd Edition (Wrox, 2007), and a contributor to Even Faster Web Sites (O'Reilly, 2009). Nicholas is principal front end engineer for the Yahoo! homepage and is also a contributor to the Yahoo! User Interface (YUI) library.

The Web Exponents Series is hosted by Steve Souders
HN Theater Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this video.
May 15, 2015 · 1 points, 0 comments · submitted by talnet
Jan 05, 2014 · tangue on Wonderful Javascript Talks?
Classics

John Resig : The Dom is a mess http://www.youtube.com/watch?v=dgI52y27O_I

Javascript, The Good Parts http://www.youtube.com/watch?v=hQVTIJBZook

Speed up your Javascript http://www.youtube.com/watch?v=mHtdZgou0qU

Brendan Eich : Fluent 2013: Brendan Eich, "JavaScript at 18: Legal to Gamble" http://www.youtube.com/watch?v=qrf9ONmtXbM&list=PLbzmrLqsBB4...

Paul Irish : 10 things I learned from the Jquery source http://www.youtube.com/watch?v=i_qE1iAmjFg&list=PLnKbkxvOAna...

Less known but very interesting

Building High-Performing JavaScript for Modern Engines http://channel9.msdn.com/Events/Build/2012/4-000

The only other video that sticks out in mine head is this Google Tech Talk by Nicholas Zakas about javascript performance.

http://www.youtube.com/watch?v=mHtdZgou0qU

Besides videos, check out Javascript Garden:

http://bonsaiden.github.com/JavaScript-Garden/

Javascript Weblog:

http://javascriptweblog.wordpress.com/

Here are some links over on Quora:

http://www.quora.com/What-are-the-best-resources-for-learnin...

The three books worth getting for someone who is already a programmer are: Crockford's "Javascript: The Good Parts", Stoyan Stefanov's "Javascript Patterns", and Resigs's "Secrets of the Javascript Ninja"

IMHO, there are few videos worthwhile.

pault
Hasn't SOTJN been in early access mode for like 3 years? I bought a copy way back when it was first released but I've given up on it ever being finished.
Apr 06, 2011 · 27 points, 3 comments · submitted by dalys
rudenoise
A good complement to JavaScript The Good Parts, it is from 2009 so missed some of the browser optimisations.
evoltix
I thought this talk was a good refresher, especially on reflows. The DocumentFragment is also particularly useful when it comes to performance tweaks.
yonran
For people developing for newer browsers only (e.g. browser extensions or corporate), I'm curious to know how many of the guidelines still apply. e.g. are forEach/map slow or are the anonymous functions inlined? Also, I'm surprised that he says that setting style properties one at a time is slow; I would have thought that reflow happens lazily (at the next read of a layout property or on the next idle spot on the event loop).

My main takeaway was that HTMLCollections (including the return value of getElementsByTagName, form.elements, etc.) are evil. Looking at the jsdom source, the one thing that really bugs me is that they have to maintain all these live lists on every change.

Jun 05, 2009 · 3 points, 0 comments · submitted by bandris
HN Theater is an independent project and is not operated by Y Combinator or any of the video hosting platforms linked to on this site.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.