- We design and build extraordinary applications for companies looking to make the next great idea a reality.
- learn more
Ajax, Browsers, Running Out of Time
History repeats itself, first as tragedy, second as farce. -- Karl Marx
I can remember the day, back in 1994, when I abandoned the Mac for Windows. It was a gloomy, overcast day when I made that bittersweet decision -- I was a Mac and Unix nerd all through college -- but after my twelfth or thirteenth crash of the day, I had had enough. Photoshop, Netscape, Secure Shell and Word were just not meant to run more than one at a time on Mac OS 7. Had I stayed with Apple through that rough patch I'm sure I would have been slimmer, sexier and happier, but NT 3.51 only crashed twice a day, so my hand was forced. I ran out and bought a PC that very day.
Now I fear history may be repeating itself. Yesterday, I had Firefox 2 for linux crash 5 times, and IE7 for XP crash 7 times. The cause? Too many fat Ajax applications. Zimbra, the whole Google bestiary of applications, Yahoo Mail, etc.. These are all long running applications that I keep open for most of the day. Then all of a sudden the Browser is gone and I have to relaunch and login all over again.
I'm not alone in this. Colleagues and friends report similar problems with Safari/Mac, IE7/Vista, Firefox/Mac. I've even checked with a friend that runs the helpdesk for a large firm: reported problems with browsers are up. The only one who seems blissfully unaffected is the lone Opera nerd in my office. He just keeps chugging along with what seem like 200 open tabs.
The cause should be evident to everyone. We've taken what was first called LiveScript -- a crufty embedding just good enough to validate a form or two -- and we've abused it into being the foundation for a whole new kind of application platform. The browsers have just not kept up and the situation will only get worse with the accelerated proliferation of Web 2.0 apps.
Help is on the way, in the form of bytecode interpreters and vm's for Safari and Mozilla, though the future of IE is still cloudy (still, there is a plan to bring Tamarin to IE). But if the new Browser version don't arrive quickly enough, or if they don't fully solve the problem of browsers crashing once an hour, then a mass migration to Opera may be the best we can hope for. At worst, content and application producers will opt for more stable non-Ajax alternatives such as Flash or Silverlight.
Ajax and the browsers it depends on are running out of time. If the notion spreads that it isn't reliable, it will be as dead as the Java Applet, never to be heard from again.
Topics: Ajax Applications, Browsers, Editorial, Firefox, IE, IE6, IE7, Javascript
Comments: 9 so far
Leave a comment
About Pathfinder
Recent
- Faster JavaScript for Firefox 3.1 Thru JIT
- Implementing linked multiselects with jQuery, LiveQuery, and Low Pro: Part 2: First pass at the actual code
- I’m Cranky Because I’m Not Getting Enough REST
- Flex Gauge Component Example with source
- Plugging Some Cool Tools
- Implementing linked multiselects with jQuery, LiveQuery, and Low Pro: Part 1: Requirements and interaction design
- Many Varied Components, or… Multi Variable Complexity, or… Mainly Vanilla Coding
- Custom Flex 3 Lightweight Preloader with source code
- Mass Assigning Inheritance Column Values for ActiveRecord STI with Rails
- Working effectively as a team of one: Five tips for front-end developers on Agile teams
Archives
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006


I had to return here after reading this:
http://webkit.org/blog/122/webkit-3-10-new-things/
and running some of its tests on Opera and FF.
Now, Tamarin won’t be avail. for quite some time, either in FF or IE, no luck there, so FF will continue to be a memory/cpu hog for quite some time.
Anyways, Safari has now 50% faster javascript execution, and Opera Kestrel.. heh is the holy grail of speed and resource usage.
Hope there’ll be a mass migration to Opera, they’re doing a great job with Opera Link and Opera browser(desktop & mobile).
BTW, about those tests, my machine isn’t very powerful, the MD5 test results were:
FF: 8.883 seconds for 3000 hashes (338 hashes/second)
Opera 9.5(beta build 9649): 1.742 seconds for 3000 hashes (1722 hashes/second)
On the referred page Webkit 3 took 3.794 sec to perform the MD5 test, and I’m guessing he’s got better hardware than me, so.. you know that that means.
Comment by lmjabreu, Thursday, November 15, 2007 @ 8:11 pm
You’re solution to the problem is on the right track. But we need real VMs, not Tamarin.
Comment by Chris, Saturday, November 17, 2007 @ 8:09 pm
You’re solution to the problem is on the right track. But we need real VMs, not Tamarin.
Comment by Chris, Saturday, November 17, 2007 @ 8:09 pm
You’re solution to the problem is on the right track. But we need real VMs, not Tamarin.
Comment by Chris, Saturday, November 17, 2007 @ 8:10 pm
You’re solution to the problem is on the right track. But we need real VMs, not Tamarin.
Comment by Chris, Saturday, November 17, 2007 @ 8:10 pm
You’re solution to the problem is on the right track. But we need real VMs, not Tamarin.
Comment by Chris, Saturday, November 17, 2007 @ 8:10 pm
You’re solution to the problem is on the right track. But we need real VMs, not Tamarin.
Comment by Chris, Saturday, November 17, 2007 @ 8:10 pm
nice article.
Comment by Tercume, Thursday, November 22, 2007 @ 8:16 am
Your browser crashing is most likely caused by a poblematic plug-in. Specifically the Adobe Reader plugin if installed will cause your browser to crash and is responsible for 99% of all IE6/IE7 crashes.
After I removed this plugin from the computers on my network nearly all IE crashes ceased. You don’t really need the plugin as you can download and view pdf documents without this plugin.
Comment by Don Burk, Monday, February 18, 2008 @ 11:27 pm