by ur-whale · 4y ago · 0 comments
I am assuming that browsers come with a pre-installed wasm engine, and that this can't easily be replaced with a 3rd party one.
I therefore assume that this product does not run in a browser, but rather standalone, and therefore probably on the server ...
That brings up the following, likely dumb question: what is the use case?
Browsers are really good incubators for fast, secure runtimes. Every time you open a new tab, that engine has to run untrusted, third-party code provided by the website. And it has to do start up so quickly that you don't perceive it. Turns out those properties are useful on the server, too.
Take some rust code, compile it into wasm, and call it from dotnet.
Compile your app into wasm and run it anywhere on any architecture.
At least that is the end goal as I understand it. The idea of it also being really fast and safe is an extra bonus.
It also seems nice because of the sandbox aspect, similar to how I’d rather run a random tool in my browser than give it unfettered access to my local resources by default.