You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we need to improve the C++ interface of libfastrace to make it more robust, safer, and easier to use. This issue tracks the following enhancements:
Replace C-style API calls with idiomatic C++ wrappers
Implement RAII principles for better resource management
Add move semantics to key classes (Span, LocalSpan)
Improve type safety in Rust-C++ interoperability
Enhance property handling with vector-based APIs
Refactor type conversions to use modern C++ practices
Update example code to demonstrate new API usage
Improve overall code readability and maintainability
Acceptance Criteria:
All C++ classes (Span, LocalSpan, etc.) have proper RAII implementations
Move semantics are correctly implemented for transferable objects
The new API is type-safe and prevents common usage errors
Example code compiles and runs correctly with the new API
No performance regression in core operations
Code passes all existing tests and any new tests added for new functionality
Documentation is updated to reflect API changes
Additional Notes:
This refactoring should not change the underlying functionality of libfastrace
Backward compatibility should be considered, with a clear migration path for existing users if breaking changes are introduced
The text was updated successfully, but these errors were encountered:
I think we need to improve the C++ interface of libfastrace to make it more robust, safer, and easier to use. This issue tracks the following enhancements:
Acceptance Criteria:
Additional Notes:
The text was updated successfully, but these errors were encountered: