fermyon / spin

Spin is the open source developer tool for building and running serverless applications powered by WebAssembly.
https://developer.fermyon.com/spin
Apache License 2.0
5.21k stars 247 forks source link

Add native support for Golang, Python, and JavaScript Azure SDKs #2623

Open asteurer opened 3 months ago

asteurer commented 3 months ago

Although we have the ability to make HTTP calls to the Azure service endpoints, it would be much easier to be able to import the various SDKs directly.

itowlson commented 3 months ago

Another possible strategy is to implement the wasi-cloud-core interfaces e.g. https://github.com/WebAssembly/wasi-blobstore. Cf https://github.com/WebAssembly/wasi-cloud-core

asteurer commented 3 months ago

Is that more or less what was done here, but for KV? https://github.com/fermyon/spin-go-sdk/tree/main/kv

itowlson commented 3 months ago

Sort of, although that is a custom interface (we have a PR #2486 for wasi-keyvalue but it's stalled on the world rev stuff). But yes, you can back that onto a hosted Redis, or onto Azure Cosmos DB. (And if there's a specific AWS service we should back it into, then do raise an issue.) And when #2486 lands, it will inherit all those back ends.