3 ms·
It would still be useful in that case as defense in depth. Specifically it could guard against compiler bugs, use of "unsafe", etc.
It would still be useful in that case as defense in depth. Specifically it could guard against compiler bugs, use of "unsafe", etc.
And conversely, if a C/C++ component is put into a wasm module, work that's needed to clearly specify the API can be re-used for any possible Rust rewrite in the future.
The wasm compiler can have its own bugs.
That is why you should write it in Rust, obviously. ;)
It's a smaller surface area that has a high amount of scrutiny. Particularly because it is already being exposed to arbitrary code execution.