Archive for October, 2006

Memory Leaks in Microsoft Internet Explorer

Memory Leaks.
What are they? How do they happen? What can be done about them?
This is a great question, and a topic that has a lot of mysticism surrounding it. Like most Javascript issues, there’s been a lot of very bad “authoritative” suggestions.
If you are a webdev interviewing at Yahoo!, and I’m in [...]

Read the rest of Memory Leaks in Microsoft Internet Explorer »

window.setTimeout (or, Don’t Wait for Fat Inits)

Because Javascript is a lambda-based language that’s designed to be compiled and run within a browser, it has a few unique architectural features that differentiate it from its more traditional C-style cousins. In particular, there’s no sleep function in Javascript.

Read the rest of window.setTimeout (or, Don’t Wait for Fat Inits) »