SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Add C++ Bindings

Open JasonAtClockwork opened this issue 2 months ago • 0 comments

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

JasonAtClockwork avatar Oct 30 '25 22:10 JasonAtClockwork