Hacker News new | ask | show | jobs
by nailer 4739 days ago
ASM is only 2x slower than native (it was 10x prior to) and will be 1.5 soon. With a way better distribution model. Have you seen UE3 or UE4 demos?
1 comments

>ASM is only 2x slower than native

Only in wilfully misleading benchmarks. Allow use of SIMD and multithreading and asm.js can be as much as 50 times slower:

http://cdn.arstechnica.net/wp-content/uploads/2013/05/native...

http://cdn.arstechnica.net/wp-content/uploads/2013/05/classi...

Good point: re multithreading. I wonder if web workers could be used to resolve that?