jducoeur: (Default)
jducoeur ([personal profile] jducoeur) wrote 2014-09-03 02:00 pm (UTC)

Oh, worse than you'd imagine. Suffice it to say, Scala is a long, long ways from 1-1. Indeed, you have to explicitly export symbols that should be visible to Javascript, because by default they're quite munged.

And that's in the "nice" view of the generated code. Of course, when you run it through the full optimizer, which drops the code size by 80-90%, it turns into truly exceptional gobbledygook. But it runs quite well: when fully optimized, the benchmarks are currently saying that it's typically better than half the speed of hand-coded Javascript, and they're pushing to achieve parity on average...

Post a comment in response:

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting