title: Why does Javascript run so slow on iPhone?
body: <p>I've been researching writing an app for iPhone.  I really like the look of <a href="http://www.phonegap.com/" rel="noreferrer">PhoneGap</a> which basically allows you to contain a webpage in an app.  My skills are primarially in HTML/Javascript so this tool allows me to make the most of my skills without having to spend many hours learning how to write an app natively for the iPhone.</p>
  
  <p>I've been doing some tests on my iPhone for Javascript, and some <a href="http://www.coastworx.com/bookflip.php" rel="noreferrer">seemingly simple</a> examples run painfully slow.  Really slow.  This unfortunatly is a big problem for my task!</p>
  
  <p>Any work arounds?  If I want to do anything interesting am I going to have to write a 'proper' app?</p>
  
  <p>An explanation on why Apple have seemingly created such a bad implementation of Javascript would be interesting as well (possibly to make more money?  Less web apps = more apps in the store?)</p>
  
  <p><strong>References</strong></p>
  
  <p><a href="http://ajaxian.com/archives/ipad-javascript-shockingly-slow" rel="noreferrer">http://ajaxian.com/archives/ipad-javascript-shockingly-slow</a></p>