Hacker News new | ask | show | jobs
by jrochkind1 3046 days ago
Does this suggest that all you got to to do is compile the JS to WASM, to have it be just as appealing?
1 comments

Whether that's what's being suggested or not it's untrue. They benefits in this case come from using a much lower level and more performant language. Javascript to WASM will always be at a disadvantage to an embedded Javascript VM natively compiled given similar optimization time, since the VM can bypass some security safeguards of WASM that it can ensure aren't needed.