-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
py systems: Add sugar for scalar-convertible Python systems #10755
Comments
I think it would be fine to invent a totally new Python API for "I want to write a simple, pure-python System with as little boilerplate as possible" that diverges from the C++ VectorSystem API. (Keeping around the APIs that still make sense is fine, to avoid user-code churn.) For one, because that there is some debate that C++ VectorSystem should live on in the first place (#10348). But really, the intent of VectorSystem is to make C++ sugar for common C++ use cases. There will be tradeoffs there that don't make sense for Python. I'd rather than Python get the best possible sugar / deboilerplating, than that we wed it to C++ VectorSystem. |
Reassigning to you, Jeremy. Feel free to reassign if you feel there's someone better suited. |
Given that I did some stuff on Not planning on tackling this any time soon, tho. |
Moved from #10745:
@RussTedrake wrote:
I would still like to maintain the design philosophy that the Python bindings shouldn't diverge too far from the C++ bits, unless there is meaningful sugar (in which case, there should be minimal interface coupling via forwarding).
To that end, possible solution routes:
featurescaveats.The text was updated successfully, but these errors were encountered: