r/GoogleAppsScript • • Apr 04 '24

Guide WebAssembly in Apps Script

https://justin.poehnelt.com/posts/apps-script-wasm/
10 Upvotes

7 comments sorted by

View all comments

1

u/Nick-Crews Sep 16 '25

u/jpoehnelt Can you comment on the viability of deploying duckdb-wasm to google sheets? Even if I got it working, would it be a terrible idea because of the IO overhead of needing to read in all the individual sheets, feeding that into the duckdb wasm, and then re-writing it back out to the sheets on query completion? It looks like they have examples already of creating the wasm-js bridge in their own special way, and I'm not sure if this is migratable to the implementation method in the repo you linked.

1

u/jpoehnelt Sep 16 '25

That does sound like a lot of overhead. Probably not worth the effort. Assuming the desire is to keep the data local to Apps Script with no external services?

1

u/Nick-Crews Sep 26 '25

Yeah, the idea was to be able to keep it all in Apps Script, via a library that I can import and use in any sheet in my org. I'll report back if I actually dive down this rabbit hole, but I probably won't. Thanks for the response!