-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Milestone
Description
Status: Compatibility Resolved β | Migration Planning Phase π
DDS currently uses boost::process v1 API. With the introduction of Boost 1.89+, where v2 became the default, DDS now has conditional compilation support that maintains compatibility with both old and new Boost versions.
Background
Boost.Process v2 provides significant improvements:
- Enhanced stability and ASIO integration
- Better async I/O handling
- Improved process lifecycle management
- Modern C++ design patterns
The v1 API is currently deprecated but still maintained and supported in modern Boost versions for backward compatibility.
Current Implementation
As of August 2025, DDS has implemented conditional compilation that:
- Uses
boost/process/v1.hppwhen available (Boost 1.85+) - Falls back to original API for older Boost versions (1.75+)
- Provides seamless compatibility across Boost versions
Migration Goal
Evaluate and plan migration to boost::process v2 to:
- Take advantage of stability improvements
- Potentially resolve edge cases in child process handling
- Align with modern Boost library design
- Ensure long-term maintainability
Priority
Medium Priority - No immediate urgency as v1 API remains supported and stable. Migration should be planned and evaluated thoroughly.