title: TypeScript performance (asm.js, closure compiler) and overhead
body: <p>I'm looking into using <code>TypeScript</code> combined with a client-side MVC (most likely <code>Backbone.js</code> + <code>Marionette.js</code> or <code>Ember.js</code>) for future projects and therefor have a few questions related to performance and optimisation :</p>
  
  <ul>
  <li><p>How does <code>TypeScript</code> output compare to native JavaScript performance wise ?</p></li>
  <li><p>Since <code>asm.js</code> is a subset of JavaScript, would it be possible to convert <code>TypeScript</code> code into <code>asm.js</code> code ? If yes, is it already possible ?</p></li>
  <li><p>Is it possible and still useful to create builds of AMD projects that use <code>TypeScript</code> with <code>Google Closure compiler</code> ?</p></li>
  <li><p>How much overhead does <code>TypeScript</code> add on average, file-size wise ?</p></li>
  <li><p>When using lightweight libraries like <code>Backbone.js</code> in a small project for example. Does it make sense to use <code>TypeScript</code> in regards to file size ?</p></li>
  </ul>
  
  <p>I like the added benefits of <code>TypeScript</code> but I don't want to sacrifice performance for coding style and typing.</p>
  
  <p>Any articles / books about using <code>TypeScript</code> in big projects, especially related to performance, optimisations and builds are very welcome !</p>
  
  <p>Thank you in advance ! </p>