title: Using asm.js to convert external-library-dependent code to javascript
body: <p>(N.B. I'm still confused about how asm.js works and what types of software it can "auto convert", and I'm also still confused about a lot of terminology along the stack of auto conversion from original source. <strong>Please be kind and make constructive comments, if you feel the need to downvote</strong>.) </p>
  
  <p>How do you use asm.js to convert code that depends on a number of external libraries to run? </p>
  
  <ul>
  <li><p>what do you apply emscripten to in such a complex dependency situation?  </p></li>
  <li><p>are there certain classes of c-based software where this just won't work? </p></li>
  </ul>
  
  <p>For example - <a href="https://github.com/phillipi/pix2pix" rel="nofollow noreferrer">pix2pix</a> </p>
  
  <p>It seems that because pix2pix is based on Torch, which eventually uses llvm, this seems asm.js can convert it? </p>