spinframework / spinframework/spin
Add C++ SDK
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.5k
- Forks
- 310
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 24
Description
Per #78, we now have an example of writing a spin-http component in C++, but as of this writing it uses the wit-bindgen-generated C API, which does not lend itself to idiomatic, modern C++. It would be nice to have a proper SDK for C++ which uses e.g. std::string, std::tuple, std::optional, etc. for interface types.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing C++ spin-http example and its wit-bindgen-generated C API usage. Define the SDK scope around idiomatic representations such as std::string, std::tuple, and std::optional; done when a proper C++ SDK supports the required interface types without exposing the current C API directly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100