|
|
|
|
|
by flohofwoe
101 days ago
|
|
IMHO the bang-for-the-buck proportion isn't right. The core problem is slow string marshalling in the JS shim (because it needs to create a JS string object from an ArrayBuffer slice - where the array buffer is the WASM heap). Integrating the component model into browsers just for faster string marshalling is 'using cannons to shoot sparrows' as the German saying goes. If there would be a general fast-path for creating short-lived string objects from ArrayBuffer slices, the entire web ecosystem would benefit, not just WASM code. |
|