Re:A first look at WebAssembly performance
by Veedrac on Thursday February 09, 2017 @07:14AM
(#13606372)
Javascript engines are fairly speedy compared to CPython; not only are they industrial-grade JITs (as opposed to CPython being a naive interpreter), but JS is an easier language to optimize. Further, WebAssembly has overhead.
5-7x difference seems reasonable to me.
Re:A first look at WebAssembly performance
by fulafel on Friday February 10, 2017 @12:42AM
(#13613481)
The CPython interpreter has actually seen a lot of performance work, they've long been pushing the boundaries of interpreter optimizations that you can do portably & compatibly. I wouldn't describe it as a "naive interpreter".
I don't expect WebAssembly to improve much on the speed, because it is already pretty fast.