If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Comment

faster means more responsive anyway. task finishes faster means less time locking up.
only way to fix responsivity issues with poorly made js is multiprocess which they also work on

Asm.js isn't meant to be used by hand, it's too low level, it only solves the performance issue of porting certain apps from native languages.
It's not a cure, it's a painkiller, and hence has limited future and also widely depends on how Dart is gonna do.

Comment

I find the speed tests from mozilla very false.
They compare against clang 3.2 as "native" whereas their same gcc (3.6) tests are outperforming clang in all but one test.

Then you still have the version matter. Clang improved quite a bit in 3.3. Gcc also improved quite a bit in 3.7 and 3.8. Specifically if you have intel with all those new optimizations.

So yeah, false results of mozilla.

As I wrote in a comment on the blog, yes, the version can matter. I didn't test the very latest LLVM and gcc versions because the goal wasn't to see the very limit of performance, but get a more broad picture of what results people can get by using typical native compilers (most applications people use are not compiled with bleeding edge compilers).

So I used the gcc that came with my linux distro - it's the one that built practically every single app I run on my machine - and for LLVM, I used the same version used by emscripten, which means it has identical frontend optimizations and the comparison of native to JS is more apples-to-apples. But again, I agree that testing the very latest is interesting as well, just depends on what your purpose is.

Comment

I find the speed tests from mozilla very false.
They compare against clang 3.2 as "native" whereas their same gcc (3.6) tests are outperforming clang in all but one test.

Then you still have the version matter. Clang improved quite a bit in 3.3. Gcc also improved quite a bit in 3.7 and 3.8. Specifically if you have intel with all those new optimizations.

So yeah, false results of mozilla.

Yeah... no. You should've read the blog post. They said, specifically, that they also wanted to highlight the notion of"native". The speed of native being very much dependent on the compiler. Moreover, emscripten is currently using that particular version of llvm/clang so you can do an apples to apples comparison.