-
Notifications
You must be signed in to change notification settings - Fork 1
Add "OpenFileIO" proposal for discussion #1
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
base: main
Are you sure you want to change the base?
Conversation
01ca5f9 to
6720c6e
Compare
e62d256 to
b69223b
Compare
|
SAMWR |
|
I like and definitely support this. I'll be curious to see the proposed C interface, and hoping it isn't too awkward or foreitgn looking for C++ users. OTOH, I suppose I could keep IOProxy but its implementation would change to be just a C++ friendly wrapper around the new thing. I know it's a placeholder, but I think we should find a better name than OpenFileIO, simply because the "Open*IO" space is getting very crowded and leading to confusion (especially when compressed to "O?IO"). |
🙏 Thanks Larry.
Yeah, sorry this wasn't meant to sound set in stone, just a few others had asked about ensuring there was a C layer, for FFIs and such. I'll update to be less committal as to what the exact nature of things might be.
1000% with you on that one! Any ideas? |
Co-authored-by: Sam Hudson <samsamm777@users.noreply.github.com>
|
I've said this in private conversation but I'll repeat for the record: For the out of scope part, I agree that resource iteration/discovery should be out of scope and the desire here to make sure that this project should remain small in scope. However, I think directories should be considered as part of the API. Without directories, one cannot sensibly present a file chooser for the artist to choose from many URI schemes (that do use directory schemes) since path components are a natural part of URIs. I understand that database file systems are directory-less, but they should still be able to be subsumed as a file system that merely has no directories. It would be really good if all of the current HDK FS plugin functionality (link to example) can be implemented in terms of this new API. |
Yeah, definitely. Hopefully we can figure a way to layer this so it doesn't over-complicate scenarios such as blind content addressed stores. A great discussion point for the meeting. @e4lam Is the source for the stock |
|
@foundrytom For the |
|
Capturing some notes: Need to think about the capabilities of some backends - ie: some may not support random access writes, etc... |
This proposal calls for the creation of a minimal, open source (C/C++) library based on the prior art of the OpenImageIO
IOProxyand Houdini File System APIs. Providing a common cross-platform, cross-application extensible abstraction of a random access byte stream. It's purpose is to aid the migration away fromfopenet. al. as the de-facto low-level data access mechanism within digital content creation tooling and infrastructure. This is required to allow secure data access via other means without the need for complex user-space file system emulations or elaborate data orchestration techniques.👉 Rendered version here for 👀 .