feat(cpp_kernel): stabilize CAPI and introduce real BettiRDLCompute with recursive event processing#1
Open
cto-new[bot] wants to merge 1 commit intomainfrom
Open
feat(cpp_kernel): stabilize CAPI and introduce real BettiRDLCompute with recursive event processing#1cto-new[bot] wants to merge 1 commit intomainfrom
cto-new[bot] wants to merge 1 commit intomainfrom
Conversation
…with recursive event processing Reason: enable reproducible benchmarks and end-to-end runtime validation. What changed: - Implemented BettiRDLCompute with a real compute kernel, including a priority-queue based event system, per-process state, and support for recursive event chaining. - Fixed C API header to include <cstddef> and addressed Linux build compatibility; updated CMake configuration for Release builds. - Updated core demos (mega_demo, stress_test) to batch events and exercise recursion semantics; added improved timing/memory reporting. - Added Python (pybind11) and Node.js (N-API) binding scaffolding and basic smoke tests; prepared packaging pointers. - Added a product report skeleton summarizing benchmarks and the binding status. Impact: - BREAKING CHANGE: BettiRDLCompute.run now processes up to max_events additional events (not until the queue is drained); deep recursion semantics updated accordingly. - Memory accounting and threading considerations are now exposed via the new API. Migration notes: - Update callers to call run with the number of additional events to process; re-run existing benchmarks to observe updated results.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implement a real BettiRDLCompute kernel with recursive event processing and fix core C API to enable Linux builds. Introduce batching-friendly demos and scaffolding for Python/Node bindings, plus a product report skeleton.
Details
Note: This PR introduces a breaking change in the run API semantics; see BREAKING CHANGE footer in the commit for details.
Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup