5 ms·
I believe Shopify looked into using a JS engine in WASM for front end sandboxing but ended up using a wrapper around the Shadow Realms API instead.
by drysart 8mo ago
I believe Shopify looked into using a JS engine in WASM for front end sandboxing but ended up using a wrapper around the Shadow Realms API instead.
- potsandpans 8mo agoIt's not front end sandboxing. It's edge function sandboxing. And they do indeed have this in prod: https://shopify.dev/docs/apps/build/functions/programming-languages/javascript-for-functions https://shopify.dev/docs/apps/build/functions/programming-la... > Shopify CLI compiles your JavaScript code using Javy, our JavaScript-to-WebAssembly toolchain. I've actually used Javy. Kind of interesting: https://github.com/bytecodealliance/javy https://github.com/bytecodealliance/javy.