I think it would be rather inefficient, that is, not very useful. What would be the gain? Languages like Java have shown that AOT compilation doesn't really benefit them very much over runtime JIT. C->asm.js makes a lot of sense, but I'm not sure it would be very much of a win for Java or Scala, especially non-math heavy apps.