Dropping playground latency by porting SpiceDB to WASM
authzed.com
authzed.com
Certainly puts us in an interesting situation. It should essentially make all Dall.E generated imagery essentially public domain. Implications are interesting as more images begin to be used in published works rather than just as memes on twitter.
"You must clearly indicate that images are AI-generated - or which portions of them are - by attributing to OpenAI when sharing, whether in public or private."
*SpiceDB Playground
The entirety of SpiceDB (minus caching) runs under WASM, but the measurements are from the application of that to https://play.authzed.com
Did you look at using the TinyGo compiler? It should help some, and I'm curious what the difference is, and whether there were any blockers to using it.
I did actually briefly look into it! I was hoping it would work for us, but the first time I tried to perform the compilation with it, it failed due to issues with support for at least one of the dependencies we bring in. I don't remember the exact failure as its been a few weeks, but since the bundle size went to down a manageable (but still largish) 5MB once we enabled aggressive caching, fixing our code to work with TinyGo was deemed less critical.
I very much hope to get back to it soon and see if we can move over to it.