3 ms·
How about WASM functions? One of Deno's selling points is sandboxing but WASM takes it to a new level it seems. I've been looking into Spin and also Dapr with W
by benatkin 4y ago
How about WASM functions? One of Deno's selling points is sandboxing but WASM takes it to a new level it seems. I've been looking into Spin and also Dapr with WasmEdge. There is even QuickJS which does JavaScript.
- nilslice 4y agoWould love to know what you're interested in doing.. we make Extism[0] which allows you to more or less ignore the lack of a "standard library" for something like V8 wasm environments.. Spin definitely makes it easier to compile high-level source code & have done great work on their SDKs to provide these "standard lib" elements. maybe Extism is useful, but if not please feel free to drop in our Discord[1] and chat w/ the team. [0]: https://github.com/extism/extism https://github.com/extism/extism [1]: https://discord.gg/cx3usBCWnc https://discord.gg/cx3usBCWnc
- laktek 4y ago[Supabase engineer & author of the blog post] You can already use WASM modules within Edge Functions. We have an example on using WASM modules to generate OpenGraph images - https://github.com/supabase/supabase/tree/master/examples/edge-functions/supabase/functions/opengraph https://github.com/supabase/supabase/tree/master/examples/ed... We are also exploring ways to create functions in WASM-supported languages and run them directly on Edge Runtime. We expect this would be easier WasmGC[0] is shipped and Deno's WASI support improves. [0] https://chromestatus.com/feature/6062715726462976 https://chromestatus.com/feature/6062715726462976
- deleted 4y ago[deleted]