title: Compile Java to asm.js
body: <p><a href="http://asmjs.org/" rel="noreferrer">asm.js</a> is in coming. Now there is even rumors of Chrome soon supporting it fully.</p>
  
  <p>But so far it has been used to compile C/C++ source into JavaScript that would run with <em>near native</em> speed (depends on how you define near native ...)</p>
  
  <p>I have been planning to use GWT to turn my Java code to JavaScript, but now I was wondering if there is currently an existing path/procedure to compile plain <em>Java source</em> code to ASM.JS, and what would that be?</p>
  
  <p>One more reason why one might want that: <a href="https://blog.mozilla.org/javascript/2013/08/01/staring-at-the-sun-dalvik-vs-spidermonkey/" rel="noreferrer">Java-to-ASM.js might very well run faster then Java-to-Dalvik on some Android phone!</a></p>