I would like to mention one that I am coming to know from my little experience with JS engines though I have not written one. Instruction dispatch is one performance-sensitive area which if done correctly can significantly improve engine's performance. Direct threaded is the fast way of doing it and it is also what SquirrelFish uses. But it can only be implemented in GNU C and other languages which support label as first class values. I am not sure if we can implement direct threaded dispatch in Java. I would like to know if there is a way of doing this. Thanks Chetan -----Original Message----- From: squirrelfish-dev-bounces@lists.webkit.org [mailto:squirrelfish-dev-bounces@lists.webkit.org] On Behalf Of David Majda Sent: Wednesday, October 29, 2008 11:53 AM To: dev-tech-js-engine@lists.mozilla.org; squirrelfish-dev@lists.webkit.org; v8-users@googlegroups.com Subject: [squirrelfish] JavaScript performance-sensitive areas Hello, I am writing a series of articles about current JavaScript engines and techniques they use to improve JavaScript performance. In an introductory article of the series I am trying to explain the readers why fast JavaScript execution is a problem and where the biggest performance hurdles lie. I have some (hopefully educated) guesses, but I am very interested in opinions of the JavaScript engine developers. What are the most problematic areas or language features when trying to write a fast JavaScript implementation? Thanks for your answers in advance. David Majda -- Everyone gets everything he wants. --Captain Willard in Apocalypse Now Personal :: david@majda.cz :: www.majda.cz Work :: david.majda@impaladesign.cz :: www.impaladesign.cz _______________________________________________ squirrelfish-dev mailing list squirrelfish-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev