|
|
|
|
|
by Seb-C
1601 days ago
|
|
I actually tried wasm a couple of months ago with Golang in the browser, and was very disappointed. It is indeed way slower that JS (and yes, I tried to care about performance and understand what was going on, removed any data exchange with the browser and even ran the tests without any dev tools opened - just in case). Not even mentioning the fact that to use it, you need to include and hardcode a dubious JS file that does not even integrate properly with npm or any build system. And that the standard wasm way to exchange variables and events is not supported (instead you are forced to use some automagic and slow DOM bindings). The performance with alternative compilers (tinygo) was a bit better on the performance side, but the integration was still disappointing and unsatisfying. |
|