spin icon indicating copy to clipboard operation
spin copied to clipboard

Add C++ SDK

Open dicej opened this issue 2 years ago • 2 comments

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.

dicej avatar Jul 22 '22 13:07 dicej

With #643 been discussed, would you like to prioritize the intermediate C SDK work first and then build C++ SDK out of it, or this is in parallel to that work?

Mossaka avatar Jul 22 '22 20:07 Mossaka

I would prioritize #643 first since that's likely to be a more stable platform for building a C++ SDK than the wit-bindgen-generated bindings.

dicej avatar Jul 22 '22 22:07 dicej