Hacker News new | past | comments | ask | show | jobs | submit login

WASM is slower than running JavaScript on V8 in almost all scenarios and will likely continue to be for a very long time. Also, many of us don’t want a compile step.



No, wasm has higher performance and lower memory usage. Here are two practical, real world examples:

https://www.amazon.science/blog/how-prime-video-updates-its-...

https://web.dev/case-studies/google-sheets-wasmgc


While I don't want any compile step either (js should stay), I'm actually confused by your statement.. are there any benchmarks? Are you saying that for example v86 would run faster without wasm?


I think that would probably fall outside the norm. My information might be outdated, but I was under the impression that JavaScript usually wins in most algorithm benchmarks because the JIT is so good.


That is a misconception; there is a cost of abstraction, although this cost may disappear if AI gets really smart.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: