Hacker News new | ask | show | jobs
by londons_explore 1359 days ago
You can compile your less trusted libraries to webassembly and then run them in a webview?
1 comments

That sounds like a huge hit to energy use, if it is even feasible for something like implementing webrtc because of communication costs with the native process.
Hrm. If you had a specific WASM engine embedded in the app, you might be able to get it to precompile the bytecode (to avoid violating the runtime modification policy); that might be low-enough overhead (since you also control the communications layer & could make it cheaper).
Video decoder in bytecode?