|
|
|
|
|
by charcircuit
1146 days ago
|
|
I would like to see this done with JavaScript that is an actual game or application. A gameboy emulator is a virtual machine and is not heavy on IPC with the DOM. Measuring a C++ program compiled into JavaScript (C virtual machine) doesn't seem representative either. The paper more shows that if you are building a virtual machine in the browser you should use WASM. I agree that is a sensible choice. |
|
Also see this article from 2018: https://hacks.mozilla.org/2018/10/calls-between-javascript-a...
Quote: "calls between JS and WebAssembly are faster than non-inlined JS to JS function calls"