logoalt Hacker News

drysartlast Friday at 7:03 PM1 replyview on HN

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.


Replies

potsandpanslast Friday at 10:39 PM

It'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-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.