|
|
|
|
|
by correct_horse
1936 days ago
|
|
> Every time you add an abstraction layer to a software stack you can expect a roughly one order of magnitude performance reduction, so intuition would suggest that a WebAssembly framework (based on top of JavaScript running inside a web browser hosted on top of a traditional big-ass operating system) wouldn't be terribly fast; I realize this isn't the point, but WebAssembly is arguably on the same level as JavaScript, the alternative being that WebAssembly is lower. (WebAssembly still needs to call JavaScript to manipulate the DOM, so doing anything UI with WebAssembly is kind of like an abstraction layer built on JS). There's a reason cryptominers sometimes use WebAssembly. That's not to say that V8/Spidermonkey on top of glibc on top of Linux isn't bloated... |
|