3 ms·
Scala is a garbage collected language like Java, not really a good target for asm.js.
by cromwellian 13y ago
Scala is a garbage collected language like Java, not really a good target for asm.js.
- pjmlp 13y agoI fail to see why. It is only a matter how good the GC would be.
- cromwellian 13y agoI 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.
- pjmlp 13y agoIt is just that I think it is mostly a matter of how much performance one would be able to get from it. Just thinking out loud. On the other hand, implementing a GC system on top of another one is probably not the best way to spend time.