-
Notifications
You must be signed in to change notification settings - Fork 314
C++ implementation of OTIO core #486
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
Conversation
added #pragma once transactional semantics on python collection mutations
…rate (and added test for same).
added correct type-info for UnknownSchema
…gh withCString fixup nullabilty annotations
|
This is very exciting, I'm looking forward to playing with it. My preliminary comments are that
|
|
A simple fix is to use composition instead of inheritance. That doesn't change the implementation much, as inlines are no more expensive than using hoists.
It’s just a lot more typing, because you have to respecify all the arguments and parameters and then make the call as an inline. If anything is ever updated about the signatures, you’d have to make changes, while the “using” just says, yeah, use that function, whatever the heck it’s signature was.
But if we have to, we have to.
… Again, very excited to see this!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#486 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AMFkpUQhVAbgUQ53lV0PSFxT5LA4RcSfks5vfQ8NgaJpZM4clLi8>.
|
|
Subclassing Iex::BaseExc from std::string caused crashes for years on Windows shared library build of OpenEXR, we only just finally were able to merge the fixes, so it's kind of a once bitten twice shy sort of thing. |
|
Thinking.... There might be a pattern that gives you what you need without a mess of forwarding. Maybe don't change anything until I have a play with it? |
|
Take your time. there’s no rush.
|
|
@meshula I'm going to land this into the Cxx branch and then open a pull request from the cxx branch to master to leave open for a while, if you have any comments for this branch you can post them there or contact us directly! |
Port of the OpenTimelineIO core into C++, wrapped with pybind11 python bindings. Only port of the core, all adapters and unit tests still run in python.
Also includes very preliminary swift bindings.