News for hackers. Stuff that matters.
Re:Perspective: Streaming pivot visualization via WebAssembly by spankalee on Tuesday February 06, 2018 @12:42PM (#16317869)
This++

WebAssembly can be certainly faster than JS in certain situations, but well-structured, monomorphic JS with the kind of type-hints for numeric values that asm.js is based off of can be extremely fast as well.

It'd be great to check the assumption that WASM is actually faster in this case, and by how much, especially given the friction of sending anything other than numbers across the JS/WASM boundary.

Re:Perspective: Streaming pivot visualization via WebAssembly by kodablah on Tuesday February 06, 2018 @05:12PM (#16320405)
And to be fair, you'd have to build it with something like prepack to get some of the optimizations LLVM gives you.