hi, several cloud providers offer/use WASM in a la...
# multiplatform
b
hi, several cloud providers offer/use WASM in a lambda context which is where it seems like things are moving towards; is there a recommended way to get started with serverside wasm? like what do I need here? node? I'm unsure if there are any bindings
1
a
@bashor ^^
b
for context: I'm diving into shopify documentation and they allow you to apply custom code run on their servers to add promotions and similar things; their examples are in JS and Rust, but I think it'd be a massive boon if we could leverage Java/Kotlin knowledge which already exists in our company
I couldn't really find any usable examples in that space yet, most of it focuses on jetpack compose and browsers
plus doing manual memory management like in some examples would probably just be inferior to the Rust choice
b
Hi! Important thing to know is that to run binaries produced by Kotlin/Wasm toolchain a runtime must support garbage collection and legacy exception handling proposals. There couple of runtimes already have both • Node.js • Deno • WasmEdge • Coudflare Workers (workerd) • WAMR • wasmer via v8
b
thank you!