SpacetimeDB
SpacetimeDB copied to clipboard
Add C++ Bindings
Description of Changes
This adds the C++ bindings framework to generate server modules from C++.
API and ABI breaking changes
None
Expected complexity level and risk
2 - Doesn't heavily impact any other areas but is complex macro C++ structure to support a similar developer experience, did have a small impact on init command
Testing
- [x] modules/module-test-cpp - heavily tested every reducer
- [x] modules/benchmarks-cpp - tested through the standalone (~6x faster than C#, ~6x slower than Rust)
- [x] Wrote several test modules
- [ ] Write Blackholio C++ server module