<jimpick>
I've been playing around a lot this week with WebAssembly and WASI ... I think it would be a cool experiment to take the C++ Raw API example app and compile that as a WASM file using the WASI system calls, and then have a little shim app to run it and connect it to file descriptor 3 + map the fs system calls to /var ... lots of options for creating the shim app (maybe Deno?)
<jimpick>
the neat thing is that you could just swap out the WASM file with a different one and have a completely different app
<jimpick>
(plus modify the package capnp file and republish)
<jimpick>
also, it might be possible to run the app entirely client-side, offline, in a service worker in a web browser, and sync the filesystem
<JacobWeisz[m]>
I usually prefer stuff run on the server, personally, but especially for porting compatibility, I imagine it'd be nice if more client side apps could work with Sandstorm.
<JacobWeisz[m]>
Bear in mind offline operation would almost certainly require webkeys or offer templates in some form, as the actual subdomain a grain is on changes every time the grain is opened.
<jimpick>
Yeah, offline would be tricky. But that's sort of my specialty. :-)