-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Swift] Implement FFI support #37938
Comments
Yea, I think this is nice to have. |
This would be great. I will start looking into the C Data Interface and the Swift impl. |
Please assign this task to me as I am starting on this work. |
Thank you @abandy |
Closed my PR due to taking to long to get feedback. I opened the PR for the initial checkin in early December and it is still outstanding with comments slowly trickling in. Removing myself from this issue so someone else can pick it up and hopefully get better support. |
Continuation for PR: #39091 This add an initial implementation of the C Data interface for swift. During development it was found that null count was not being properly maintained on the arrow buffers and this change is included as well. Also some minor refactoring was done to existing sources to enable this feature. This has been tested from Swift calling into C to import data but not from Swift to C exporting data. Test is currently ongoing. * GitHub Issue: #37938 Authored-by: Alva Bandy <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Issue resolved by pull request 41342 |
Describe the enhancement requested
Since we already have basic implementations for Arrow buffer, array, data type etc, in Swift. It would be great if we can implement the Arrow C Data Interface in Swift, so that Arrow arrays in other languages such as Rust, C++, can be easily imported into Swift and operated on.
Component(s)
Swift
The text was updated successfully, but these errors were encountered: