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
Artem Kobzar
02/05/2025, 1:36 PM
@bashor ^^
b
Bernhard
02/05/2025, 1:39 PM
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
Bernhard
02/05/2025, 1:39 PM
I couldn't really find any usable examples in that space yet, most of it focuses on jetpack compose and browsers
Bernhard
02/05/2025, 1:40 PM
plus doing manual memory management like in some examples would probably just be inferior to the Rust choice
b
bashor
02/05/2025, 8:12 PM
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